Add lock around get ConfigurationSection