sceptre/cli.py
def lock_stack(ctx, environment, stack):
    """
    Prevents stack updates.

    Applies a stack policy to ENVIRONMENT/STACK which prevents updates.
    """
    env = get_env(ctx.obj["sceptre_dir"], environment, ctx.obj["options"])
    env.stacks[stack].lock()

    Prevents stack updates.

    Applies a stack policy to ENVIRONMENT/STACK which prevents updates.
    
Prevents stack updates.
Applies a stack policy to ENVIRONMENT/STACK which prevents updates.
Prevents stack updates . Applies a stack policy to ENVIRONMENT / STACK which prevents updates .
def lock_stack(ctx, environment, stack):
    env = get_env(ctx.obj["sceptre_dir"], environment, ctx.obj["options"])
    env.stacks[stack].lock()
def lock_stack ( ctx , environment , stack ) : env = get_env ( ctx . obj [ "sceptre_dir" ] , environment , ctx . obj [ "options" ] ) env . stacks [ stack ] . lock ( )
Prevents stack updates.
Prevents stack updates .
"""
    Prevents stack updates.

    Applies a stack policy to ENVIRONMENT/STACK which prevents updates.
    """
ctx
environment
stack