code: public PagedList<ManagementLockObjectInner> listAtResourceLevel(final String resourceGroupName, final String resourceProviderNamespace, final String parentResourcePath, final String resourceType, final String resourceName, final String filter) {
          ServiceResponse<Page<ManagementLockObjectInner>> response = listAtResourceLevelSinglePageAsync(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, filter).toBlocking().single();
          return new PagedList<ManagementLockObjectInner>(response.body()) {
              @Override
              public Page<ManagementLockObjectInner> nextPage(String nextPageLink) {
                  return listAtResourceLevelNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: Gets all the management locks for a resource or any level below resource.
  
  @param resourceGroupName The name of the resource group containing the locked resource. The name is case insensitive.
  @param resourceProviderNamespace The namespace of the resource provider.
  @param parentResourcePath The parent resource identity.
  @param resourceType The resource type of the locked resource.
  @param resourceName The name of the locked resource.
  @param filter The filter to apply on the operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the PagedList&lt;ManagementLockObjectInner&gt; object if successful.