def _create_locked_config(overrides=None):
return Config([get_module_root_config()], overrides=overrides, locked=True)<EOL>
Create a locked config.

    The config created by this function only reads settings from the main
    rezconfig file, and from plugin rezconfig files. All other files normally
    used by the main config (~/.rezconfig etc) are ignored, as are environment
    variable overrides.

    Returns:
        `Config` object.