It is the magic word to cover the cave of treasures that opens with the formula "Open sesame" in the story Ali Baba and the Forty Thieves, which are used in an ironic sense or as a joke for what magically opens and closes.