Have you ever been a parent?
Kids can figure out door locks and medicine bottle lids in s heartbeat.
They can figure out how to work IPads, too. My great granddaughters did that at ages 2 and 3. They are now 8 and 9.
Yep, two boys who are now fine men and fathers themselves. Neither ever wandered out of our home in the middle of the night.