To open the front trunk, ensure Model S is in Park, and then do one of the following before pulling the hood open:

The instrument panel displays when a door, trunk, or liftgate is open.
WARNING: Before opening or closing the hood, it is important to check that the area around the hood is free of obstacles (people and objects). Failure to do so may result in damage or serious injury.
The cargo weight should be distributed as evenly as possible between the front and rear trunks.
CAUTION: Never load more than 110 lbs (50 kg) in the front trunk. Doing so can cause damage.
WARNING: When loading cargo, always consider the vehicle's Gross Vehicle Weight Rating (GVWR) (see Vehicle Loading). The GVWR is the maximum allowable total mass of the vehicle including all passengers, fluids, and cargo.
Closing
The Model S hood is not heavy enough to latch under its own weight and applying pressure on the front edge or center of the hood can cause damage.
To properly close the hood:
1. Lower the hood until the striker touches the latches.
2. Place both hands on the front of the hood in the areas shown (in green), then press down firmly to engage the latches.
3. Carefully try to lift the front edge of the hood to ensure that it is fully closed.

CAUTION: To prevent damage:
WARNING: Before driving, you must ensure that the hood is securely latched in the fully closed position by carefully trying to lift the front edge of the hood upward and confirming there is no movement.
The front trunk locks when:
Interior Emergency Release
Center Console
Reservoir - Air Suspension (Remove and Replace)
Fan - Condenser - RH (Remove and Replace)