When editing a file, you can lock this file. The lock has the following purposes:
The file lock informs other users that the file is curently being edited and might no longer be up-to-date.
If the file is located in a folder that you share with other users whom you granted edit permissions, those users can not edit the locked file.