Release orphan locks