Thanks NiLuJe! An interesting read
No, I am not afraid of forgetting passcode. I am worried that someone is capable entering the code and factory resetting the whole thing

Wanted to prevent this.
Hard reboots are hard, they don’t care about passcode.