Yes it is a good idea to keep firearms that are not in use securely stored. However I disagree with the concept of the government telling people how to secure their property.
I much prefer the way they do in a lot of overseas jurisdictions. They make it a crime of criminal negligence if a child gains access to a readily dischargeable firearm. So the law put the onus on the individual to make sure their property is secure not tell step by step how to do it. That's the individualist mindset over the nanny state mindset.