Sometimes the author of a document will receive a message from SharePoint when saving with desktop version of Office:
Sorry, something went wrong
The file "..." is locked for shared use by "..."
No one else is editing the document and the document library doesn't require check in or out. This was reported to Microsoft OneDrive team but didn't seem to be attended.
After some research, it turned out the following change worked:
Run regedit
open HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
Manually edit key "SupportLocking" and change from 1 to 0
Exit regedit