The To lock the document that is already present in the current project select it in the Project View and click on the Lock document for editing context menu item.
The lock icon in the document element indicates that the document can’t be modified:
...