I didn't know there were laws in place, that's great. Perhaps that is why CPS is investigating?
Alarms are great for the little kids. We have an alarmed gate at the top of our stairs. There is a certain way it has to be opened (which only the parents know) otherwise the alarm sounds. If an attempt is made to open it, the alarm sounds.
All these things may seem silly. I have had older family members feel it's ridiculous to need alarms and locks and rounded coffee tables (when I sold all my glass, sharp cornered furniture when I was pg) and outlet plugs.
We aren't putting our children in a bubble, we are protecting them. There are plenty of things and knowledge that come in time, not just hands on experience. My son doesn't need an eye punctured out by a glass coffee table to learn he shouldn't run into it.
All I'm saying, and was really trying to say, is that if you know you have a defiant child, your child is energetic, chaotic, touching everything, has to know how everything works, has zero caution (because of their brains, not because of the parents) and loves danger, then do what it takes to keep your kid safe. Sometimes you have to above and beyond. It sucks having to hear the gripes of others who think you take it too far, but it's not their kid and they aren't responsible for the day to day things.
There is nothing wrong with a child who has these behaviors, you just need to modify your home and your life to keep them safe.