It is against the law to leave a child alone if it places them at risk - here's what you need to know