Arcane lock

Arcane lock was an arcane abjuration spell that allowed the caster to lock closed entryways.

Effect
By touching a closed door, window, gate or other entryway, the caster would lock it. The caster could pick a creature type or even a password that would allow them to open the locked entryway.

Unwanted visitors could enter only if the object was broken or if the spell was suppressed. The spell could be suppressed by a knock spell and the suppression lasted for 10 minutes. When the spell was active, the lock was harder to pick or break.

Components
The spell required verbal and somatic components and gold dust worth 25 gold pieces.