File locked by server, unresolvable with regular approaches

The best is to use redis as file-locking cache, especially on muli-user setups:

Normally cleaning the oc_file_locked-table should help, however make sure the user is not logged in (webdav connection, open browser etc.) and locks the file again. After you emptied the table, is the file back in the locking-list?