They can arrest you the second you are admitted into the country.
They can, and frequently do, arrest you the second they admit you.
What for? Whatever they make up.
In the US they can also keep all your devices indefinitely.
USA effectively does that, though: https://www.theguardian.com/us-news/2026/may/21/us-travel-re...