If some CBP knuckle-dragger wants me to unlock my phone so he can browse through it looking for whatever as I stand there watching while asking me insipid questions, that's not a huge deal. The real problem here is downloading of data from the phone. Once that data is off-loaded, the government can make it a part of their "Seven-degrees-of-Kevin-Bacon-Osama-Bin-Laden edition" game, stored forever, perpetually looking…
If there's something else they're interested in, don't carry it over the border.