Arcane Lock
2nd-level Abjuration, Touch
In Threadlight
Magically locks a door or container until dispelled. Action · Touch · V, S, M (gold dust worth 25+ GP, consumed) · Until dispelled Touch a closed door, window, gate, container, or hatch and lock it for the duration. It can't be unlocked by any nonmagical means. You and creatures you designate when casting can open and close it despite the lock. You can also set a password that, spoken within 5 ft of the object, unlocks it for 1 minute.

SRD 5.2.1 (2024) rules text
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.
This work includes material from the System Reference Document 5.2.1 ("SRD 5.2.1") by Wizards of the Coast LLC, available at https://www.dndbeyond.com/srd. The SRD 5.2.1 is licensed under the Creative Commons Attribution 4.0 International License.