Place it at the cut where the person turns to leave, then follow the exit with a laugh to sell the change of mind. A classic directed-by ending can close the scene after the laugh, giving the in-and-out moment a familiar finish.
O tym dźwięku
This is an 11-second clip built around the Polish phrase wejde wyjde, meaning someone will come in and then go out again. The short wording gives it a light, teasing feel, like a running joke about indecision or a doorway that never stays still. It works best as a quick reaction, with the repetition doing most of the humour.