Cant speak for the B777 but the A319/20/21 family have a disarm feature on the pax doors should they opened from the outside. The girt bar goes from being in an armed position to a disarmed position should the opening mechanism be activated from the outside of the door.