Tech companies can be targeted with search warrants
In many cases, the police cannot search electronic devices without getting a warrant. They can also ask for consent, of course. If an officer is making an arrest, they could ask that person to give them access to their phone. But civilians are not obligated to do...