The "friend" didn't open the door. The father stood really close to the bars, so the "friend" could grab the knife through the bars and then hold the fathers legs before slashing them. The person in the door frame is another guard, not the escaping "friend".