It's always a concern when travelling to another country. There's the decision between biometrics, passcode and/or burner. When travelling, always keep in mind that legality varies, and a country's compliance with their laws varies as well...
Prepare ahead of time, always.