docs: protected String getLockErrorTitle(CmsLockInfo lockInfo) {
  
          switch (lockInfo.getState()) {
              case changed:
                  return Messages.get().key(Messages.ERR_LOCK_TITLE_RESOURCE_CHANGED_0);
              case locked:
                  return Messages.get().key(Messages.ERR_LOCK_TITLE_RESOURCE_LOCKED_0);
              case other:
              case success:
              default:
                  return Messages.get().key(Messages.GUI_LOCK_FAIL_0);
          }
      }