2. Interjection. (colloquial often childish) A phrase used to introduce a "knock knock joke" ¹
3. Interjection. (colloquial often childish) A phrase used in lieu of knocking (e.g. on the door), when it is not possible to knock. ¹
¹ Source: wiktionary.com