I am assuming that you are asking whether to lock records before writing them.
Locking records is an option. In some applications it can be a requirement.
Like when you are writing or updating several related files or records, and you want the whole set of related records to be successfully updated before anyone else can access those records. You would write the records with lock, and when all related records are successfully updated, you would 'release' their keys.
If this information is not what you needed, please clarify your question and post it.
Dimandja