docs: public void removeResourcesInProject(CmsUUID projectId, boolean removeSystemLocks) {
  
          Iterator<CmsLock> itLocks = OpenCms.getMemoryMonitor().getAllCachedLocks().iterator();
          while (itLocks.hasNext()) {
              CmsLock currentLock = itLocks.next();
              if (removeSystemLocks && currentLock.getSystemLock().getProjectId().equals(projectId)) {
                  unlockResource(currentLock.getResourceName(), true);
              }
              if (currentLock.getEditionLock().getProjectId().equals(projectId)) {
                  unlockResource(currentLock.getResourceName(), false);
              }
          }
      }