code: public boolean unlockThisRecord(String strDatabaseName, String strRecordName, Object bookmark, SessionInfo sessionInfo)
              throws DBException, RemoteException
      {
          sessionInfo.m_iRemoteSessionID = this.getSessionID();
          LockTable lockTable = this.getLockTable(strDatabaseName, strRecordName);
          if (bookmark != null)
              return lockTable.removeLock(bookmark, sessionInfo);
          else
              return lockTable.unlockAll(sessionInfo);
      }
docs: Unlock this bookmark in this record for this session.
  @param strRecordName The record to unlock in.
  @param bookmark The bookmark to unlock (or null to unlock all for this session).
  @param objSession The session that wants to unlock.
  @param iLockType The type of lock (wait or error lock).
  @return True if successful.