code: public void openLockReport(CmsResource resource) {
  
          String dialogTitle = CmsVaadinUtils.getMessageText(org.opencms.ui.Messages.GUI_DIALOGTITLE_LOCKREPORT_0);
          getRpcProxy(I_CmsGwtDialogClientRpc.class).openLockReport(dialogTitle, resource.getStructureId().toString());
      }
docs: Opens the lock report for the given resource.<p>
  
  @param resource the resource for which to display the lock report