While flights have a scheduled departure time, there is an unwritten final-boarding rule. The gate agent will often close the door to the plane 10 minutes before departure, which, depending on what side of the door you're on, can either mean a huge sigh of relief or a delayed or even ruined trip.