Use a Strong Passcode
By default, your iPhone lets you use a 6-digit numeric code as your passcode. For some, that’s enough, but if you’re using a weak passcode, people might be able to learn it just by seeing how you unlock your iPhone.
To avoid this problem, try using a stronger passcode. Avoid passcodes like “123456” or “000000.” Granted, your iPhone will alert you if it considers your passcode too weak, but you still have the option to ignore it and use a weak passcode anyway.
Also, try to avoid things like birthdays or anniversaries. If the other person knows these dates, they’ll use them first to try to unlock your iPhone. Even a random thief will have access to that information if they steal your wallet and iPhone together — and you can bet those are the first passcodes they’ll try.
Instead, use random numbers if possible. Granted, it might be hard to remember your passcode, but it’ll be worth it in the long run. What’s more, if you don’t want to rely on six digits to protect your data, your iPhone lets you create a stronger passcode using numbers, letters, and special characters.
To change your passcode, go to Settings > Face ID & Passcode > Change Passcode. After you enter your current passcode, tap on Passcode Options and choose Custom Alphanumeric Code.