public void lock() {
      try {
        basicLock();
      } catch (LockServiceDestroyedException e) {
        cache.getCancelCriterion().checkCancelInProgress(null);
        throw e;
      }
    }
Locks the given name (provided during construction) uninterruptibly or throws an exception.
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java