Just to add as some will say "...just switch the motor off and leave it in gear !..."

Chocking up the car post hard laps lets the engine cool down while idling for a minute or two - replicating a cool down lap.

I dont know the science behind it but it's just common sense