Place it just before the door opens in your edit, then follow the reveal with a shocked reaction and a burst of laughter to sell the prank. Pairing it with a startled yell after the knock keeps the joke moving and gives the reveal a clear payoff.