def lock_workspace(namespace, workspace):
uri = "<STR_LIT>".format(namespace, workspace)<EOL>return __put(uri)<EOL>
Lock FireCloud workspace, making it read-only.

    This prevents modifying attributes or submitting workflows
    in the workspace. Can be undone with unlock_workspace()

    Args:
        namespace (str): project to which workspace belongs
        workspace (str): Workspace name

    Swagger:
        https://api.firecloud.org/#!/Workspaces/lockWorkspace