With protesting and dissent nearing illegality, It's no longer safe to have password managers, browser history or social media on your phone. (at borders for now)
I see a lot of people saying just shut it off. They will turn it on, tell you to unlock it, you refuse, they'll detain you, try tools to bypass, confiscate it (you need to make sure you get a receipt) and they'll let you out without it at some point. Even citizens can get detained for periods greater than 24 hours.
If you express any public dissent toward the administration, you should consider traveling with a dumb phone or a burner, not connected to your email/social online services/password systems.