You seal a container with a powerful magical lock. This seal can only be dispelled by 3 Knock spells cast simultaneously at 7th level or higher or a Wish spell. When the spell is cast, 3 keys are created with it, and corresponding keyholes are magically installed within the container. To unlock it, all three keys must be inserted together.
An affected container becomes enchanted to lead to an extradimensional space. The area within the extradimensional space is no larger than the container itself. The extradimensional area and its contents can not be targeted by divination magic or perceived through magical scrying sensors, any attempt to perceive inside the container reveals the contents of the original container. Any living creature inside this extradimensional space is shunted to the nearest safe space outside if the container is closed.
As an action, you can summon one or more keys created by this spell to your possession from anywhere in existence, provided a key is not on the person of another creature. If any of the keys are destroyed, a replica immediately reforms on your person.
* - (3 adamantine keys worth 400 gp each and a live dragon egg, all of which which the spell consumes)