This is why they make those little magnetic key holders, hidey rocks, and such.

My garage also has the code panel to get it open. The one time I was locked out . . . the battery had died, so that didn't work either. We now have . . . something worked out, as I routinely lock myself out, much to Dad's frustration.

Tyler couldn't, or wouldn't, open the door for you, huh? You've got some fun times ahead with that little guy!

Just remember, he is OK, you found a solution so you are capable as a mom, and everything is going to be fine!