code: public Observable<ManagementLockObjectInner> getByScopeAsync(String scope, String lockName) {
          return getByScopeWithServiceResponseAsync(scope, lockName).map(new Func1<ServiceResponse<ManagementLockObjectInner>, ManagementLockObjectInner>() {
              @Override
              public ManagementLockObjectInner call(ServiceResponse<ManagementLockObjectInner> response) {
                  return response.body();
              }
          });
      }
docs: Get a management lock by scope.
  
  @param scope The scope for the lock.
  @param lockName The name of lock.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the ManagementLockObjectInner object