code: public String getIconPathLock() {
  
          CmsLock lock = getLock();
          String iconPath = null;
          if (!lock.isUnlocked() && (m_request != null) && isInsideProject()) {
              if (getLock().isOwnedBy(m_request.getCurrentUser())
                  && (getLockedInProjectId().equals(getReferenceProject().getUuid()))) {
                  if (lock.isShared()) {
                      iconPath = "shared";
                  } else {
                      iconPath = "user";
                  }
              } else {
                  iconPath = "other";
              }
          }
          if (iconPath == null) {
              iconPath = "project_none";
          } else {
              iconPath = "lock_" + iconPath;
          }
          return "explorer/" + iconPath + ".gif";
      }
docs: Returns the lock icon path for the given resource.<p>
  
  Relative to <code>/system/workplace/resources/</code>.<p>
  
  Returns <code>explorer/project_none.gif</code> if request context is <code>null</code>.<p>
  
  @return the lock icon path for the given resource