Your vehicle 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 vehicle transitions to a parked state, which includes engaging the parking brake. The new state is indicated in the instrument panel.

The parking brake is automatically released when you select a driving gear.