code: public void lockResourceTemporary(CmsResource resource) throws CmsException {
  
          getResourceType(resource).lockResource(this, m_securityManager, resource, CmsLockType.TEMPORARY);
      }
docs: Locks a resource temporary.<p>
  
  This will be an exclusive, temporary lock valid only for the current users session.
  Usually this should not be used directly, this method is intended for the OpenCms workplace only.<p>
  
  @param resource the resource to lock
  
  @throws CmsException if something goes wrong
  
  @see CmsObject#lockResource(String)