docs: private void unlockInherited(final String absoluteResourcename) throws CmsException {
  
          CmsObject cms = getCms();
          CmsLock parentLock = getParentLock(absoluteResourcename);
          if (!parentLock.isNullLock()) {
              if (parentLock.isInherited()) {
                  unlockInherited(parentLock.getResourceName());
              } else {
                  if (!parentLock.isLockableBy(cms.getRequestContext().getCurrentUser())) {
                      cms.changeLock(cms.getRequestContext().removeSiteRoot(parentLock.getResourceName()));
                  }
                  cms.unlockResource(cms.getRequestContext().removeSiteRoot(parentLock.getResourceName()));
              }
          }
  
      }