To do this exploit/Glitch you will have to be able to use Force Bolt.
(A mastermind ability or any others that have it)
If your in a room you can force bolt someone into the wall by just useing the skill and they can not get out or attack.
I found this helpful so far but sometimes if there not in deep enough they can wiggle loose.
2 Pictures.
First one is hard to see but his hand is stuck second ones head is stuck too