That doesn't help for the kind of search happening here. If the traveler refuse to give the agent the access demanded, they would be denied entry. We need courts to protect the privacy so that you have the right to say no.
Unless you have a US passport
I still don’t get why there’s no way to set up a second pin that unlocks the phone but hides sensitive apps and data.