We knock in jest, and it is opened in earnest.

我们开玩笑地敲门,门就开了。