docs: public void changeLock(CmsRequestContext context, CmsResource resource) throws CmsException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          checkOfflineProject(dbc);
          try {
              m_driverManager.changeLock(dbc, resource, CmsLockType.EXCLUSIVE);
          } catch (Exception e) {
              dbc.report(
                  null,
                  Messages.get().container(
                      Messages.ERR_CHANGE_LOCK_OF_RESOURCE_2,
                      context.getSitePath(resource),
                      " - " + e.getMessage()),
                  e);
          } finally {
              dbc.clear();
          }
      }