system
Given the following post, respond as if you're commenting on Reddit:
human
[Warcraft] How do you imprison classes that can teleport/generate portals?

Mages, Druids, Death Knights, Monks and Shamans. 

Also, what's stopping a bunch of warlocks from casting Ritual of Summoning to bust people out of prison?
gpt
Magical barriers are regularly used to imprison practitioners of magic. Depending on the specific enchantments, they can be anything from force-reactive barriers to magical null-bubbles that prevent magic from affecting the interior.