I'm not a lawyer, but I very strongly doubt deliberately making yourself unavailable to give the password on demand is going to be perceived by a court as as cute a way around this law as you believe it to be.
There's no technological solutions to things like this, only political ones.
There's no technological solutions to things like this, only political ones.