← Back to search

Accounts & PasswordsPhones & Tablets

How do I unlock a Samsung A15 that is asking for a code?

Answer

Read the exact wording on the screen first. SIM PIN or PUK is the carrier SIM code from the SIM packaging or carrier account. Enter PIN, password, or Draw pattern after Android starts is the phone lock set by the previous user. Use the correct code type—guessing a PUK too many times can permanently lock the SIM.

Before you start: stop right away if…

  • Too many incorrect PUK attempts can permanently disable the SIM.
  • Ignore offers to unlock a Samsung phone remotely for a fee.

Follow these steps

  1. Identify which code the phone wants

    Read the full prompt. If it says SIM PIN or PUK, it is the carrier SIM code. If it says Enter PIN, password, or Draw pattern after the phone finishes booting, it is the Samsung lock screen. A message like “For your security, enter your password” is usually the Google or Samsung account password for a settings change—not a SIM code.

    You should see: You know whether you need a SIM code, lock-screen code, or account password.

  2. Enter a SIM PIN or PUK carefully

    For SIM PIN, use the default or changed PIN from the carrier/SIM packaging. For PUK, get the PUK from the carrier account or SIM sleeve and enter it exactly. Stop after a few failures and contact the carrier instead of guessing.

    You should see: The SIM unlocks and the phone reaches the normal lock screen or home screen.

  3. Use the lock-screen PIN, pattern, or password

    If the prompt is the phone lock, enter the PIN, pattern, or password that was set on this A15. Match upper/lowercase if a password was used. If the previous user set it and you do not know it, you need their code or an official reset path.

    You should see: The phone unlocks, or you confirm a reset will be required.

  4. Reset only with Google account recovery in mind

    If the lock-screen code is unknown and cannot be recovered, use Samsung’s official factory reset steps for the A15. After wipe, Factory Reset Protection may ask for the Google account previously on the phone—have that email and password ready from the owner.

    You should see: The phone resets and can be set up with the correct previous Google account, or you know account recovery is needed first.

Not sure this is the right page? Check here

0 of 5 checked

Extra tips

What to look for: Exact wording such as SIM PIN, PUK, Enter PIN, password, or Draw pattern, and whether the prompt appears before or after the Samsung boot animation

Before you change anything: Write down the exact on-screen text before trying codes. Have the SIM tray packaging or carrier account handy if the prompt says SIM PIN or PUK. Ask the previous owner for the lock-screen PIN/pattern if this phone was used before. Do not keep guessing a PUK—too many wrong attempts can lock the SIM permanently.

Have a different problem?