‘What if you refuse to give your passcode to officers or say you don’t consent to a search? Consequences differ depending on your immigration status. If you're a green card holder or citizen they can still take your phone. “They can’t compel you to give your passcode, but they can seize the phone and send it to a forensic lab, where it might sit for weeks or months while they try to break into it,” says Wessler. “For visa holders, it’s trickier. If you refuse to unlock your phone, they may just deny you entry, claiming you're not cooperating in assessing admissibility” And in the very worst scenario they might throw you into a detention centre before sending you home.
https://files.mastodon.social/media_attachments/files/114/512/644/257/030/924/original/9a700c5490bf409a.png