docs: private ReentrantLock optionallyObtainLockedLock(AuthenticationData authenticationData) {
          ReentrantLock currentLock = null;
          if (isAuthCacheServiceAvailable()) {
              currentLock = authenticationGuard.requestAccess(authenticationData);
              currentLock.lock();
          }
          return currentLock;
      }