public void setLockGrantor(boolean isLockGrantor) {
    regionAttributes.isLockGrantor = isLockGrantor;
    regionAttributes.setHasIsLockGrantor(true);
  }
Sets whether this region should become lock grantor. Default value is false.

@param isLockGrantor whether this region should become lock grantor
geode-core/src/main/java/org/apache/geode/cache/AttributesFactory.java