Depends on the airline's policy and sometimes even the type of flight (long-haul, short-haul). All can likely be found in the Conditions of Carriage or other Terms and Conditions when you buy your ticket. A rough guess would be that the norm for airlines is anywhere between 10 and 20 minutes before scheduled departure.