If you use an iPhone,
Pls come learn something.
To protect your iPhone/iCloud from thieves, go to Settings > Screen Time > Content & Privacy Restrictions (enable). Set separate passcode.
If someone steals the iPhone,
They can never erase your account.