code: public static void tryUnlock(CmsObject cms, CmsResource resource) {
  
          try {
              cms.unlockResource(resource);
          } catch (CmsException e) {
              LOG.debug("Unable to unlock " + resource.getRootPath(), e);
          }
      }
docs: Tries to unlock the given resource.<p>
  Will ignore any failure.<p>
  
  @param cms the cms context
  @param resource the resource to unlock