code: public List<CmsResource> getBlockingLockedResources(CmsResource resource) throws CmsException {
  
          if (resource.isFolder()) {
              CmsLockFilter blockingFilter = CmsLockFilter.FILTER_ALL;
              blockingFilter = blockingFilter.filterNotLockableByUser(getRequestContext().getCurrentUser());
              return getLockedResources(resource, blockingFilter);
          }
          return Collections.<CmsResource> emptyList();
      }
docs: Returns a list of child resources to the given resource that can not be locked by the current user.<p>
  
  @param resource the resource
  
  @return a list of child resources to the given resource that can not be locked by the current user
  
  @throws CmsException if something goes wrong reading the resources