I have dabbled in magic and I know a few simple spells with the right materials and equipment I might be able to put up some alarm spells that activate or maybe some kind of barriers...
But it sounds like I might need to understand more about who we are trying to trap and why?