EE removed the bolts on the torque arm for the airlock which was believed to be plugged. When the last bolt was removed the torque arm moved pinning the impact gun the EE was holding against the wall which was next to the airlock. This caused the EEs hand to be wedged between the wall and the impact gun causing a sprain to the wrist. EE was given modified duty for 5 working days.