Your car can automatically apply the parking brake in several situations. You can also apply the parking brake manually.
After coming to a stop, press the button marked P on the right-hand steering wheel stalk.

The car transitions to a parked state, which includes engaging the parking brake. The new state is indicated in the driver information area.

The parking brake releases automatically when you select a driving gear.