code: public List<CmsResource> getLockedResourcesWithCache(
          CmsResource resource,
          CmsLockFilter filter,
          Map<String, CmsResource> cache)
      throws CmsException {
  
          return m_securityManager.getLockedResourcesObjectsWithCache(m_context, resource, filter, cache);
      }
docs: Returns all locked resources within a folder or matches the lock of the given resource, but uses a cache for resource lookup.<p>
  
  @param resource the resource to check
  @param filter the lock filter
  @param cache the cache to use for resource lookups
  
  @return a list of locked resources
  
  @throws CmsException if operation was not successful