Tom Scott does a great job of explaining this. Tr;Dr is paper ballots are a mature process that has the benefit of requiring physical access to tamper with, and governments who aren’t great at IT and only do something at scale once 4 years is asking for trouble
Android can be configured to require a pin after a reboot which is an ok compromise if you want to invoke the fifth amendment