@Override
      public void run2() throws CacheException {
        getOrCreateRootRegion().getCache().setLockTimeout(2);
        Region r2 = getOrCreateRootRegion().createSubregion(name, getGlobalAttrs());
        assertEquals("value 2", r2.get(key));
        r2.put(key, "value 3");
      }
get the lock, region.get(), region.put(), release lock
geode-core/src/distributedTest/java/org/apache/geode/cache30/GlobalLockingDUnitTest.java