Lots of lessons to take from this. One not mentioned so far by other commentors is to not use facial recognition or fingerprint scanner to unlock your phone; disable that entirely. In the US, cops can legally use facial recognition or your finger prints to unlock your phone if it's enabled. But they cannot legally force you to type in a pin or password. So, use a pin or a password on your phone.