How Apple could lock down the iPhone to thwart government unlock orders

The new iOS devices with the Secure Enclave were supposed to be unhackable, even by Apple, but they aren't. What could Apple do to fix this?