docs: public void readLocks(CmsDbContext dbc) throws CmsException {
  
          if (OpenCms.getRunLevel() > OpenCms.RUNLEVEL_3_SHELL_ACCESS) {
              // read the locks only if the wizard is not enabled
              Map<String, CmsLock> lockCache = new HashMap<String, CmsLock>();
              List<CmsLock> locks = m_driverManager.getProjectDriver(dbc).readLocks(dbc);
              Iterator<CmsLock> itLocks = locks.iterator();
              while (itLocks.hasNext()) {
                  CmsLock lock = itLocks.next();
                  internalLockResource(lock, lockCache);
              }
              OpenCms.getMemoryMonitor().flushLocks(lockCache);
              m_runningInServlet = true;
          }
      }