A reminder that people on here telling you what your rights are at a border, who advocate things like "just don't unlock your phone" or "ask for lawyer":
A) don't seem to be lawyers
B) appear to all be US citizens
C) don't seem to have much border crossing experience
D) don't seem to have any experience being black/brown/non-english-speaking/female/trans/non binary at a border
E) and are, as far as I can tell, just straight up wrong about the law.
Maybe don't listen to them.
Ask an actual lawyer. Read your government's advice. Know that things *are* different and worse with each identity that doesn't please the KKK.
And if the above is true of you, *please* stop giving advice. Respectfully, you don't know what you're talking about and your bad advice endangers others.