Write your duress PIN on the back of the phone. I guarantee you the first cop that sees it will go, "LOLOL!!!! HIS PASSWORD IS RIGHT THERE!!! LOLOL" and immediately enter it.
I heard for this reason police are now trained not to try any code that you can't go to jail for if it turns out to be a duress code. That means anything you didn't tell them was the unlock code.