Place it after a knock at the door and before the reveal that nobody is getting in, letting the failed entry set up the next beat. Follow a locked-door moment with a dramatic sting to underline the rejection, or a fail sting when the joke is that the plan has collapsed.