Skip to content
91 / 210· Stay safe
0% read
Lesson 91 of 210CybersecurityBasic · Practical TutorialCybersecurity in class

Locking the phone and the laptop

How to set a PIN, pattern, or fingerprint on a phone, lock a laptop when you step away, and choose how quickly each one locks itself.

Ellis Dennis GrahamEllis Dennis GrahamFounder & Lead Educator, Cyber Elias Academy 4 min readReleased in the 2026 notes seriesStatus: Published
A phone lock screen with a PIN pad on a wooden desk.

Here you will learn to lock a phone and a laptop so a stranger cannot open them. You will set a PIN or a pattern, turn on a fingerprint, and make the machine lock itself when you walk away. It takes ten minutes and protects everything else in these lessons.

A lock screen is a door between the world and your messages, photos, and accounts. It is the cheapest security you will ever set up, and every phone and laptop already has one.

What you will need

  • The phone or laptop, charged.
  • A PIN you can remember, not one written on the back of the phone.
  • About fifteen minutes.

Set the phone lock

  • Open Settings, then Security, or Lock screen on Samsung phones.
  • Choose Screen lock type and pick PIN, which is the most reliable.
  • Use six digits rather than four, and avoid your birth year.
  • Do not use 1234, 0000, or the last four digits of your number.
  • Add a fingerprint if the phone has a reader, as a faster way in.
  • Choose how long the phone waits before locking: thirty seconds is a good balance.

You will see the lock screen appear with a keypad and the time at the top. After you unlock twice, the phone stops asking for a full sign-in for a while, which is normal.

A phone lock screen showing a PIN keypad.
Six digits and a fingerprint. The keypad appears every time the screen wakes, before anything else is visible.

It looks like a lock screen only stops somebody browsing your photos. It also stops them opening your email, resetting a password, and seeing the codes that arrive by text.

A pattern is weaker than a PIN

Patterns are quick to draw and quick to copy from a smudge on the glass. A PIN is the better choice for a phone that travels.

  • If you prefer a pattern, turn off the visible lines, which give it away.
  • Wipe the screen after unlocking in a crowded place.
  • Use a six-digit PIN where the phone allows it.
  • Keep a second unlock method ready in case a finger is wet or cut.
  • Note the PIN nowhere on the device, including a note app.
  • Tell one trusted person at home where the PIN is written, sealed.

Lock the laptop too

  • On Windows, press the Windows key and L together, which locks immediately.
  • On a Mac, press Control, Command and Q.
  • Open Settings, then Accounts, then Sign-in options, to set a PIN for the laptop.
  • Set the screen to turn off after five minutes and require a sign-in.
  • Close the lid when you stand up, which locks on most machines by default.
  • Never leave a laptop open and signed in at a business centre.

The lock screen will show on the laptop within a second, and the desktop disappears behind it. That single key combination is worth learning by heart.

A laptop showing the lock screen with a password field.
Windows key and L locks a Windows laptop in one second. Nothing on the screen stays visible.

None of this slows your work. Unlocking takes one second, and it removes the risk of a stranger reading your email while you buy a drink.

Shared machines and other people's phones

  • On a shared computer, sign out of websites rather than only closing the tab.
  • Do not save the browser password on a machine you do not own.
  • Use a guest account when a visitor needs to check something.
  • On another person's phone, avoid opening your email, which stays signed in.
  • If you must use one, clear the session in the app before handing it back.
  • Change a password the moment you suspect somebody watched you type it.

Do not worry about being rude by locking a screen in front of a colleague. People who handle money and records do it without thinking.

Troubleshooting

Each has a cause you can find.

  • You forgot the PIN: use the account recovery on the phone, which needs your Google or Apple password.
  • The fingerprint stops working: wash and dry the finger, then re-add it in Settings.
  • The phone locks too quickly: change the timeout to one minute.
  • A child changed the PIN: recovery through the parent account is the only route.
  • The laptop asks for a password you never set: it wants the Microsoft account password.
  • Facial unlock fails in the dark: type the PIN instead, which always works.

Your turn

Set one lock today and the habit follows.

  • Set a six-digit PIN on the phone.
  • Lock and unlock it three times.
  • Press Windows and L on the laptop and sign back in.
  • Set the screen timeout to five minutes.
  • Tell one person at home where the PIN is written, in a sealed envelope.

You can now leave a device on a desk without worry. In the next lesson you will know exactly what to do in the first hour if a phone is stolen.

Free browser practice lab

Test passphrases in the Password Strength Checker

Check how length and word diversity protect real accounts locally.

Open lab

Next step

Ready to enrol?

Tell us which course you want. We will reply with dates, the fee, and what to bring.

Admissions open · Two sessions a week · 24 Ebony Road, Port Harcourt