When you remove the key from the ignition lock when the vehicle is stationary, the parking brake is applied automatically.
The red indicator lamp in the multifunction display lights up. The electric parking brake is only actually applied when the red indicator lamp lights up continuously.