def get_by_scope(scope, lock_name, custom_headers:nil)
      response = get_by_scope_async(scope, lock_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def get_by_scope(scope, lock_name, custom_headers:nil)
      response = get_by_scope_async(scope, lock_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Get a management lock by scope.

 @param scope [String] The scope for the lock.
 @param lock_name [String] The name of lock.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [ManagementLockObject] operation results.