docs: public void unlockResource(CmsRequestContext context, CmsResource resource)
      throws CmsException, CmsSecurityException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          try {
              checkOfflineProject(dbc);
              checkPermissions(dbc, resource, CmsPermissionSet.ACCESS_WRITE, true, CmsResourceFilter.ALL);
              m_driverManager.unlockResource(dbc, resource, false, false);
          } catch (CmsException e) {
              dbc.report(
                  null,
                  Messages.get().container(
                      Messages.ERR_UNLOCK_RESOURCE_3,
                      context.getSitePath(resource),
                      dbc.currentUser().getName(),
                      e.getLocalizedMessage(dbc.getRequestContext().getLocale())),
                  e);
          } finally {
              dbc.clear();
          }
      }