private boolean lockCMS() {
    return getCmsDlockService().lock(CMS_DLOCK_SERVICE_NAME, -1, -1);
  }
each locator will have one instance of this running if enabled
geode-core/src/main/java/org/apache/geode/management/internal/api/LocatorClusterManagementService.java