795
Don’t ever hand your phone to the cops
(www.theverge.com)
This is a most excellent place for technology news and articles.
Double check this in the state or country you're in. I recall something from a few years ago where the police could force you to give a swipe pattern and maybe pin since these items are not covered in the same way that a password is.
Maybe in some countries but in a western one they aren't getting a pattern or passcode unless you verbally give it to them. We do know though that there is some level of capability to crack phones though.
Indent to find an article to back up what I remember and in 2020, a woman was held in contempt of court and jailed for refusing to provide a passcode. The case was later overturned.
But they didn't get the code. That's the quest they can do, hold you in contempt of court. Which in the US is illegal under the 5th amendment.
How is a pin not a passcode?