Most people lock their phones with biometrics which can be legally compelled from you.
If you use a password you can refuse to provide it.
If you’re living in a world where the police are willing to literally drug and torture you then your digital security requirements are beyond the scope of what you can get from social media and you should assume that everything you do is publicly known.
Very strong lobby and social media messaging operations.