private void distributedLockForClear() {
    if (!scope.isGlobal()) { // non-global regions must lock when using RVV
      try {
        getLockService().lock("_clearOperation", -1, -1);
      } catch (IllegalStateException e) {
        lockCheckReadiness();
        throw e;
      }
    }
  }
Obtain a distributed lock for the clear operation.
geode-core/src/main/java/org/apache/geode/internal/cache/DistributedRegion.java