Ex-Mozilla CTO: I was grilled for three hours at US airport by border cops
Quick reminder: US citizens have an absolute right to reenter the country. Customs can temporarily detain you, but they cannot refuse entry. Any threat, whether implied or stated, that they will hold you until you unlock your device is not real. They can hold your stuff indefinitely, so be prepared to lose it if you go this route, but never unlock your device based on the idea that it’s the only way to go free.Non-citizens are in a totally different boat. You can be denied entry for any reason whatsoever. Tread carefully....