I am have a file and a folder in two separate document libraries that I am experiencing similar issues with. They are both locked (I didn't even know folders could be locked) and I cannot unlock them.
The folder doesn't tell me who it is locked by but it is empty and I want to delete it but can't because it says:
The file is currently checked out or locked for editing by another user.
Similarly I want to move a file in another doc library but cannot because it says:
The file https://my-path/my-file.docx is locked for shared use by cdn\user1.
I have spoken with the user and he does not have the file open anymore and also get the same error I get when he tries to checkout the file. Neither the file nor the folder are checked out, they are just locked and I can't do anything with them. I have read about this "10 minute write lock" but waiting 10 minutes does not resolve my issue, it's been several days and the locks are not going away.
Any help would be greatly appreciated.