Spell Level: 2
Spell School: Abjuration
Casting Time: 1 Action
Components: V, S, M (gold dust worth 25+ GP, which the spell consumes)
Range: Touch
Area: None
Duration: Until Dispelled
Conditions/Effects: Utility
Saving Throw: None
Ritual: No
Scaling: None
Classes: Wizard
Link: Link to source
You touch a closed door, window, gate, container, or hatch and magically lock it for the duration. This lock can’t be unlocked by any nonmagical means. You and any creatures you designate when you cast the spell can open and close the object despite the lock. You can also set a password that, when spoken within 5 feet of the object, unlocks it for 1 minute.