code: public ManagementLockObjectInner getByResourceGroup(String resourceGroupName, String lockName) {
          return getByResourceGroupWithServiceResponseAsync(resourceGroupName, lockName).toBlocking().single().body();
      }
docs: Gets a management lock at the resource group level.
  
  @param resourceGroupName The name of the locked resource group.
  @param lockName The name of the lock to get.
  @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 ManagementLockObjectInner object if successful.