Hi Shyananth and welcome to our forum!
SharePoint has an implicit locking mechanism. If a user opens a form, SharePoint remembers that they have it open. If they go offline, then the lock expires in 10 minutes. Otherwise, the user has to submit the form or close it. This is a big issue with InfoPath installations on SharePoint. HEre are some best practices for developing SharePoint forms:
1. For people who only need to read the form, use the XSL Apply tool in the SDK to create a read-only view and a calculated column in the form library to show the data without opening InfoPath.
2. Create a separate Form B for user comments and put that a separate form library. Form B can then use a SharePoint list adapter or import (Merge Forms) to show a read-only sub-view of Form A. Then, you are not creating a lock on Form A for people who only need to add comments or ask questions. See Issue Tracking for an example of merge. You'll have to tie the forms together using an ID or something.
3. Use Checkout and Check-in to tell people that you are editing the form (to prevent them from opening it). This is a human solution.
4. Close InfoPath and/or wait 10 minutes. This expires the lock on SharePoint. This is also a human solution but is a viable workaround.
5. Create personal views so that people only view the forms that are assigned to them decreasing the form read collisions between users.
Hope this helps!
Patrick Halstead [InfoPath MVP]
InfoPathDev
Patrick Halstead
Project Manager at Qdabra