code: public void unlockProject(CmsRequestContext context, CmsUUID projectId)
      throws CmsException, CmsRoleViolationException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          CmsProject project = m_driverManager.readProject(dbc, projectId);
  
          try {
              checkManagerOfProjectRole(dbc, project);
              m_driverManager.unlockProject(project);
          } catch (Exception e) {
              dbc.report(
                  null,
                  Messages.get().container(Messages.ERR_UNLOCK_PROJECT_2, projectId, dbc.currentUser().getName()),
                  e);
          } finally {
              dbc.clear();
          }
      }
docs: Unlocks all resources in this project.<p>
  
  @param context the current request context
  @param projectId the id of the project to be published
  
  @throws CmsException if something goes wrong
  @throws CmsRoleViolationException if the current user does not own the required permissions