Step 1) Place your foot on the break pad to park
Step 2) While in park, change your gear into the park position
Step 3) Turn off the; ignition, lights, wipers, etc,…..
Step 4) Unbuckle your belt and open the car door and step out
Step 5) Get out of the car and close the door
Step 6) Walk away
Hmmmmm, I seem to have missed a step!
p.s..that dinging you heard as your left the car was your car reminding you to take the keys out of the ignition!