code: void tryUnlockCurrent() {
  
          if ((m_lockAction != null) && m_lockAction.getChange().equals(CmsLockActionRecord.LockChange.locked)) {
              try {
                  A_CmsUI.getCmsObject().unlockResource(m_currentResource);
              } catch (CmsException e) {
                  e.printStackTrace();
              }
          }
      }
docs: Tries to unlocks the current resource if available.<p>