Apologies in advance for the "powertrain 101" Poindexter lesson:
The parking pawl in the transmission, as in any [modern] passenger car auto transmission, locks the final drive. Meaning, a chunk of metal is forced into a gear that is positively continuous to the wheels, to prevent rotational movement......
Keep in mind, P only locks the drive wheels, while the Parking brake locks the rear wheels. Using the P brake while parking on slippery surfaces or hills is advantageous. 4 wheel traction is better than 2.
DMM, the transmission "park' pawl locks the transmission output shaft, thereby locking the pinion and ring from rotational movement. It does NOT lock the axle shafts. Due to differential action one axle can rotate forward and the other backward with the transmission in park. Don't put the transmission in park and then jack up one drive wheel to change a flat.
p.s.: SAAB 99 from the 1970's had the parking brakes on the front, drive wheels.
The process that avoids this is also documented.
1) Come to a stop where you want to park. Leave car in "gear", foot on service brake.
2) Set parking brake.
3) Put selector in Park.
4) Release service brake.
Almost....
1) Come to a stop where you want to park. Leave your foot on the service brake. Put the selector in Neutral.
2) Set parking brake.
3) Release the service brake.
4) Put the selector in Park (reapply the service brake if that is needed for the Park-Neutral Position, "PNP" shift interlock).
The reason is to use neutral to unload the engine "creep" load sent through the transmission as "idle" so that there is no load, not even the low torque of idle rpm (or "creep" kW) on the pawl. It also confirms the parking brake is engaged preventing movement, not the transmission park pawl.
So does that make me a bigger nerd?
...not proud if it does, but not sorry for the corrections either.