What I would like is a setting kind of like the already-existing safety feature on pixel phones. You set a timer and if you fail to end the timer or respond when it goes off, it calls 911.
Instead, I would set a timer before going through customs and if I don't unlock my phone and disable it within a set time, it initiates a wipe. I think that would be a safer way of doing this than a duress PIN.