After editing files in Office Online (Office 365 and OnPrem) in a chromium based browser you might experience the following:
The file is locked for shared use by ...
chromium based browsers all have the flag
allow-sync-xhr-in-page-dismissal. This flag can be found under
- Edge chromium:
Recently it seems the default value for ths flag has been changed to "disabled". Furthermore this flag will be removed from both Chrome and Edge. If this functionality is disabled, users will frequently experience issues where recently edited office documents are locked for editing by other users and metadata cannot be changed by the current user from the web interface.
Office Online seems to rely on this functionality to unlock documents when you navigate away from the document editor interface. If not able to unlock a document, an exclusive lock will remain on the document until it expires after 30 minutes.
If you cannot reproduce the error currently, you can try to change the flag to "disabled" and you should be able to consistently reproduce the error.
Note: use a chromium based browser
1) in a document library, create a new document
2) edit the document if you like, return to the document library when done
3) now try to add a title to your document
4) the file is locked for editing. Note that other users will not be able to edit the document at all since the current user will have an exclusive lock