code: public String getLockedInProjectName() {
  
          try {
              CmsUUID pId = getLockedInProjectId();
              if ((pId == null) || pId.isNullUUID()) {
                  // the resource is unlocked and unchanged
                  return "";
              }
              try {
                  return getCurrentOuRelativeName(getCms().readProject(pId).getName());
              } catch (CmsDbEntryNotFoundException e) {
                  return getCurrentOuRelativeName(getCms().readHistoryProject(pId).getName());
              }
          } catch (Throwable e) {
              LOG.error(e.getLocalizedMessage(), e);
              return "";
          }
      }
docs: Returns the project name that locked the current resource's.<p>
  
  @return the the project name that locked the current resource's