code: public void removeLock(Session session, String path)
     {
        String repoPath = session.getRepository().hashCode() + "/" + session.getWorkspace().getName() + "/" + path;
        String token = nullResourceLocks.get(repoPath);
        session.removeLockToken(token);
        nullResourceLocks.remove(repoPath);
     }
docs: Removes lock from the node.
  
  @param session current session
  @param path nodepath