Years ago, @ EWR, got to the gate after the doors were shut and gate agents had left the podium. The jet bridge was still attached though and the plane was physically at the gate. My jejune travelling companion proceeded to try to open the door to the jetbridge herself, which led to all sorts of security alarms going off. Mercifully, as this was well before 9/11, nothing happened to us.