
Lock it up!
If you want to guarantee no officer can search it without an appropriate warrant, lock the phone. This goes for any "container" whether it is on your person or in a vehicle.
This was told to me by a cop when I asked about the extent of probable cause searches and the limits.