Arcane lock

Arcane Lock was a Abjuration spell that allow the caster to lock closed entryways.

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

Only if the object is broken or the if spell is suppressed can unwanted visitors enter. The spell can be suppressed by Knock and that suppression lasts for 10 minutes. When the spell is active the lock is harder to break of pick.