The police have a right to attempt you trick you into giving up information you shouldn't. Plead the fifth/don't talk to the police.
>So he refused, and was locked up on the drug and firearms charges.
This is fair.
>Five days later, after Montanez was bailed out of jail, a deputy from the Hillsborough County Sheriff’s Office tracked him down, handed him the warrants and demanded the phone passcodes. Again, Montanez refused. Prosecutors went to a judge, who ordered him locked up again for contempt of court.
This is also fair. The police acquired a warrant and presented the warrant legally. The man refused, committing the crime of contempt of court, which is a fair and just punishment for refusing to heed a court-issued warrant. It's also within his right to decide to serve the time for contempt of court rather than providing the password.
Yes, there are lots of bigger issues touched upon in this story, but the headline seems sensationalist. Didn't the police do the right thing by obtaining a warrant for the password?