docs: protected void checkSystemLocks(CmsDbContext dbc, CmsResource resource) throws CmsException {
  
          if (m_lockManager.hasSystemLocks(dbc, resource)) {
              throw new CmsLockException(
                  Messages.get().container(
                      Messages.ERR_RESOURCE_SYSTEM_LOCKED_1,
                      dbc.removeSiteRoot(resource.getRootPath())));
          }
      }