ios – How to avoid the "iPhone is disabled" error when children play with iPhone?

I have a baby who loves to play on my iPhone XS. Naturally, I often tinker with the access code input buttons, and I get the message "iPhone is disabled, please try again in X minutes," which I Googled and Googled and there seems to be no way to disable it. Not only is it annoying, but I'm concerned that at some point you enter the wrong code so many times, that the phone is completely disabled.
I seem to remember that on older iPhones you couldn't get them to require an access code to wake up, but this seems impossible now unless you also want to disable Apple Pay, Face ID to sign in etc. I'm fine with those who require an access code
How can I avoid this dreaded "iPhone is disabled" error? I really don't care about the security it offers, with this lock I am at home all day anyway. 🤷🏽‍♀️