code: public void onLockFail(String errorMessage) {
  
          m_editor.disableEditing(errorMessage);
          CmsAlertDialog alert = new CmsAlertDialog(
              Messages.get().key(Messages.ERR_LOCK_TITLE_RESOURCE_LOCKED_0),
              errorMessage);
          alert.addCloseHandler(new CloseHandler<PopupPanel>() {
  
              public void onClose(CloseEvent<PopupPanel> event) {
  
                  m_controller.reloadPage();
              }
          });
  
          alert.center();
      }
docs: Should be called when locking the container page failed.<p>
  
  @param errorMessage the locking information