Here's what the law says about leaving kids unattended in the car, and when you may get in trouble for it