In the 2011 Doctor Who episode “The Pandorica Opens,” the Pandorica is described as a prison.
The episode is the first part of the seventh series finale of Doctor Who’s fifth series, written by Steven Moffat and broadcast in June 2010. The Pandorica is an ancient object beneath Stonehenge that has been presented as a legendary ultimate weapon. When it opens, however, its function is revealed to be confinement rather than destruction.
The episode deliberately echoes the Pandora myth while reversing expectations about what is inside the container. The Pandorica is designed to imprison the Doctor, whom a coalition of enemies regards as an existential threat. This is distinct from the mythological jar: Doctor Who uses the name as a science-fiction mystery and builds its own plot around a locked object, historical legends, and a trap.