So if the locality has weak standards, you aren't responsible for your child?
There is nothing childproof
A deadbolt lock in the door, with the key not present isn't childproof? A gate with a latch at least 48 inches from the ground won't keep out a one year old? My, your children must have been really advanced at that age. An old fashioned hook and eye latch on the door would be effective for most one year olds. (There's a reason most of the pool drownings are in the 3 - 5 year age group.)
Some years ago the 3 year old son of a family friend drowned. There were latches above child level on the pool access doors. While his mom was napping, the child awoke climbed out of bed, pulled a chair up to the door, unlocked the door and got out to the pool area. He was found no more than 10 minutes later.
She had no reason to think he was old enough to figure out how the latch worked and how to move a chair so he could reach it. Accidents happen.