Adding the possibility for templates to have some elements locked as a setting.