In the extreme heat down south, they should simply take the kids away from the parents. They don't deserve them !
In fairness, some of those cases were accidental.
My partner did it years ago to our then 3 week old daughter, thankfully in the middle of winter. Keys fell out of her handbag as she got out of the car, locked her door (no central locking) and then went to the backdoor to discover it was locked. She called me in a panic and I said just smash a window, but she was asleep and it wasn't hot or cold. I drove 30 minutes to her with a key to find the car surrounded by 10 people with my distressed partner and bubs sound asleep none the wiser.
My sister is close friends with the wife of a former AFL player. She was 38 odd weeks pregnant and out shopping with her 2 year old. Felt a few labour cramps and figured it was time to get out of the shops. Sat 2 year old in back seat and went to put the shopping in the boot, 2 year had the keys with the remote didn't he... Guess what happened next?
Thankfully a cop car drove past and noticed she was distressed, got the kid out of the car and call an ambo.
As for the intentional ones. Maybe a flogging with a bike chain perhaps?