public DistributedMember queryLock() {
      try {
        DLockRemoteToken remoteToken = lockService.queryLock(lockName);
        return remoteToken.getLessee();
      } catch (LockServiceDestroyedException e) {
        cache.getCancelCriterion().checkCancelInProgress(null);
        throw e;
      }
    }
Ask the grantor who has the lock

@return the ID of the member holding the lock
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java