Even locked if they want the info in your phone they are probably getting it. They would have access to some of the best forensics teams and equipment.
I think some of the concern is when cops will use force illegally and then lie about it, so they wouldn’t necessarily have access to forensics.
Like taking your phone and go through your WhatsApp messages?
If that’s a concern you could set up a password to access any sensible app or chat within that app.
I think that is a more sensible approach. As if you are targeted by any reason an undercover cop could get a hold on your unlocked phone by many different ways.
I think some of the concern is when cops will use force illegally and then lie about it, so they wouldn’t necessarily have access to forensics.
Like taking your phone and go through your WhatsApp messages?
If that’s a concern you could set up a password to access any sensible app or chat within that app.
I think that is a more sensible approach. As if you are targeted by any reason an undercover cop could get a hold on your unlocked phone by many different ways.