Lots of good advice in this article
E.g., learn how to quickly disable biometrics (fingerprint or face-detecting login)
For Android, long-press on power and click on "Lockdown" on the next screen
https://www.wired.com/story/the-wired-guide-to-protecting-yourself-from-government-surveillance/