I was looking at a companies that to do repairs to iPhones to decide if I wanted to DIY or just pay someone to do it, and noticed one company that listed a service named "Remove Passcode". This was concerning to me since I assumed that the iOS passcode was secure; meaning for example that it was part of the boot/build, and without it correctly presented, the phone's data was not accessible. (Yes, I know, silly to think that would be the case.)
Anyway, at this point after quickly researching the topic, it appears it's possible to delete one file, turn the phone on, have complete access to it, replace the file, and no one would be the wiser.
Not asking for a how-to - just confirmation that the passcode is meaningless security-wise.