More locked device, more difficult obfuscation -> more motivation for certain people to break it and share it with everybody.

There is no way, you can plug all holes, iPhone couldn't do it with their golden cage and they spend ridiculous amount of money so their phone cannot be rooted, but you still have rooted iphone.