code: public List<CmsResource> getLockedResources(CmsResource resource, CmsLockFilter filter) throws CmsException {
  
          return m_securityManager.getLockedResourcesObjects(m_context, resource, filter);
      }
docs: Returns all locked resources within a folder or matches the lock of the given resource.<p>
  
  @param resource the resource to check
  @param filter the lock filter
  
  @return a list of locked resources
  
  @throws CmsException if operation was not successful