Abed leaves Jeff's door open when he enters. His back is then shown as he addresses the group. The next shot of him shows Jeff's door closed behind him.
When Professor Cornwallis is tied up with his hands immobilized, from one camera angle (over the shoulder from behind) the audience can still see him moving his right hand while he speaks. The camera angle changes and the audience can see his hands are again tied down.