I have run into the “File is locked on OneDrive” problem as well. Currently, all my files and folders in “Shared with me” are locked. I can not add or delete or rename anything. The interesting part is: It did work only one week ago. I did upload several files into these folders succesfully. Now, I can not even rename any of these files.
I’m also using another 3rd party software for browsing my OneDrive folders online. It has the same problem, however, this software is somehow able to at least rename. So probably it’s an issue with Microsoft?
The webinterface of Onedrive does do everything as it should, so currently I’m forced to go online and do it in the browser instead of odrive.