Object[] getKeysToBeLocked(EntryEventImpl event) {
    Object[] keys = new Object[1];
    keys[0] = event.getKey();
    return keys;
  }
Checks to make sure that this node is primary, and locks the bucket to make sure the bucket
stays the primary bucket while the write is in progress. This method must be followed with
a call to releaseLockForKeysAndPrimary() if keys and primary are locked.
geode-core/src/main/java/org/apache/geode/internal/cache/BucketRegion.java