code: void unlockCurrent() {
  
          if (m_currentResource != null) {
              if ((m_lockAction != null) && m_lockAction.getChange().equals(LockChange.locked)) {
                  CmsLockUtil.tryUnlock(A_CmsUI.getCmsObject(), m_currentResource);
              }
          }
          m_lockAction = null;
      }
docs: Unlocks the current resource in case it has been locked by previous actions.<p>