docs: public void removeTempLocks(CmsUUID userId) {
  
          Iterator<CmsLock> itLocks = OpenCms.getMemoryMonitor().getAllCachedLocks().iterator();
          while (itLocks.hasNext()) {
              CmsLock currentLock = itLocks.next();
              if (currentLock.isTemporary() && currentLock.getUserId().equals(userId)) {
                  unlockResource(currentLock.getResourceName(), false);
              }
          }
      }