Tech is Easy logoTech is Easy

How to View Locked Chats in WhatsApp on PC (Secret Code)

Updated Nov 14, 2026Time needed: 3 minutesAndroid phone and Windows PC (WhatsApp desktop app)

To view locked chats in WhatsApp on PC, you need a secret code: on your phone open Locked chats, tap the three dots, choose Chat lock settings > Secret code and create one, then click Locked chats on your PC and type that code. This guide is for anyone who locked chats on their phone and now sees a "Set up your secret code" message when they try to open them on WhatsApp for Windows or another linked computer.

How to View Locked Chats in WhatsApp on PC (Secret Code) video

What you need

1Try opening Locked chats on your PC

In WhatsApp on your computer, click the Locked chats icon in the left sidebar. Without a secret code, WhatsApp blocks access and shows Set up your secret code, telling you to create one from your primary phone. Click OK and pick up your phone.

WhatsApp for Windows showing the Set up your secret code message after clicking Locked chats

2Open Locked chats on your phone

First make sure WhatsApp is up to date by searching for it in the Play Store or App Store. Then open WhatsApp, scroll the chat list until Locked chats shows at the top, tap it and open it with your fingerprint, face or passcode.

WhatsApp chat list on Android with Locked chats circled at the top

3Go to Chat lock settings

Inside Locked chats, tap the three dots at the top right and select Chat lock settings.

Locked chats screen on the phone with the three dots menu at the top right

4Tap Secret code

Under Secret code it says Off. Tap it to start setting one up. This code is what lets you open locked chats on some linked devices, like your PC.

Chat lock settings with the Secret code option circled and set to Off

5Create and confirm the code

Type a word or emoji you will remember and tap Next. On the Confirm secret code screen, type it again and tap Done.

Create secret code screen with an empty Secret code field and keyboard

6Check that the code is on

Back in Chat lock settings, Secret code now shows On and a message confirms Your secret code is set.

Chat lock settings showing Secret code On and the message Your secret code is set

7Enter the code on your PC

Go back to your computer and click the Locked chats icon again. This time WhatsApp asks you to Enter your secret code. Type the code you just made and click Continue.

Enter your secret code dialog in WhatsApp for Windows with the Continue button

8Open your locked chats

WhatsApp now shows the Locked chats list on your PC, and you can open and reply to those chats like any other.

Locked chats list open in WhatsApp for Windows

How chat lock works across devices

On your phone, locked chats open with the same fingerprint, face or passcode as your phone's screen lock. A computer can't check your fingerprint, so linked devices use the secret code instead. That is why the code has to be made first: until it exists, your PC has no way to let you in. WhatsApp's help page on turning chat lock on or off explains how to lock a chat on the phone and how the secret code fits in.

A few things follow from this: - The code is created and changed only on your primary phone. The PC just asks for it. - The code is separate from your phone's screen lock. Pick something you'll remember but others won't guess, not your PIN. - The same code works on every linked computer that asks for it, so you don't need a different one per device.

Tips / troubleshooting

FAQ

Why can't I open locked chats on WhatsApp on my PC?

Locked chats on a linked computer only open with a secret code. If you haven't created one, WhatsApp shows Set up your secret code instead. Create it on your phone in Locked chats > three dots > Chat lock settings > Secret code.

Where do I set the WhatsApp secret code?

Only on your primary phone. Open Locked chats, tap the three dots, choose Chat lock settings and tap Secret code. The PC only asks you to enter it.

Does this work on WhatsApp Web?

The video uses the WhatsApp app for Windows. WhatsApp says the secret code opens locked chats on "some linked devices", so if WhatsApp Web asks for a code, the same one applies. Testing WhatsApp Web specifically is not shown in the video.

Is the secret code the same as my phone's lock?

No. Your phone opens locked chats with its own fingerprint, face or PIN. The secret code is a separate word or emoji that you create for chat lock, and it is what linked devices like your PC ask for.

Do I need my phone nearby to open locked chats on PC?

Only for the one-time setup, because the code can only be created on the phone. After that, you just type the code on the PC. Your phone doesn't have to be next to it.

What if I forget my WhatsApp secret code?

WhatsApp's own setup screen warns that if you forget the code and create a new one, your locked chats lose their lock and are cleared. Keep the code somewhere safe.