Sir, would you please enter your un-lock code?
Sorry officer, I can't remember the code.
You can also backup your phone periodically, and become familiar with its data-wipe procedures.
I wonder if this creates a market for phones with an instant-memory-and-call/text-log wipe button.