Place it just before the door opens in a horror edit, then follow the reveal with a ghost attack sound and a hallway sting for the chase. If the warning is ignored, close with a fail cue after the character realises the mistake.