So I defaulted to what I'm best at, spells. After a lot of thought, I decided on something simple, a detection ward that can cover a single room. It wouldn't do much to stop anypony, but it would give time for others to act and prepare for an intruder.