Android 15 has a "Private Space" feature that can be somewhat hidden and used to sandbox apps/data. It will prompt for a secondary unlock if you know where to look.
"Private" in marketing terms only. Border agents have access to it all. If you refuse to turn over all of your passcodes and passwords for the access they're after (including social media profiles), they can detain you and seize your device.