docs: public LockConfig findLockConfig(String name) {
          name = getBaseName(name);
          final LockConfig config = lookupByPattern(configPatternMatcher, lockConfigs, name);
          if (config != null) {
              return config.getAsReadOnly();
          }
          return getLockConfig("default").getAsReadOnly();
      }