You could certainly reduce some of the attack surface, but you couldn&#x27;t eliminate it entirely.<p>I think a more reasonable option is to design phone in such a way that attempting to load software on the phone when it&#x27;s locked bricks it and causes the encryption keys to be destroyed.