docs: public int lockThisRecord(Task objSession, String strDatabaseName, String strRecordName, Object bookmark, String strUserName, int iLockType)
          throws DBException
      {
          SessionInfo sessionInfo = this.getLockSessionInfo(objSession, strUserName);
          try {
              return this.getRemoteLockSession(sessionInfo).lockThisRecord(strDatabaseName, strRecordName, bookmark, sessionInfo, iLockType);
          } catch (RemoteException ex)   {
              throw DatabaseException.toDatabaseException(ex);
          }
      }