What locking your Facebook account does

Locking your Facebook account freezes access to it without deleting anything. When your account is locked, no one can log in—not even you—until you unlock it again. Your profile, photos, messages, and all your data stay on Facebook's servers untouched. The difference between locking and deactivating is important: deactivation hides your profile and can be reversed within 30 days, but locking is when ready and you control exactly when it ends.

You lock an account when you suspect someone else has accessed it, when you're taking a break and want to prevent unauthorized use, or when you've lost access to your email or phone and need to find the account while you regain control. Locking is faster than going through account recovery if you still have access right now.

Key Takeaways

  • Locking your account stops anyone from logging in, including you, until you unlock it yourself using your password.
  • You can lock your account in Settings > Security and Login > Lock Your Account, and you must enter your password to confirm.
  • Locking takes effect when ready and does not delete your data, messages, or profile—everything stays on Facebook.
  • You unlock your account by logging in normally with your password and email or phone number, which you can do anytime.
  • If you cannot remember your password, use the "Forgot Password" link on the login screen before locking, or unlock using a recovery code you saved earlier.

How to lock your account from your phone or computer

Open Facebook and go to Settings. On a phone, tap the three horizontal lines (menu icon) in the bottom right, scroll down to Settings & Privacy, then tap Settings. On a computer, click the downward arrow in the top right corner and select Settings & Privacy, then Settings.

Once in Settings, find Security and Login on the left side (computer) or scroll down to find it (phone). Tap or click Security and Login. Look for the option that says "Lock Your Account" or "Lock Account"—it appears near the top of this section. Click or tap it. Facebook will ask you to enter your password to confirm. Type your password and click Lock Account. Your account is now locked when ready.

The entire process takes less than a minute. Your profile becomes inaccessible to anyone trying to log in, and you will see a message confirming the lock is active.

What happens when your account is locked

Once locked, your account cannot be accessed from any device or browser. If someone has your password, they cannot log in. Your profile does not appear in search results, and people cannot message you or see your posts. However, your data is not deleted—Facebook keeps everything stored.

You can still receive notifications about your account (friend requests, comments on old posts, messages waiting to be read), but you cannot respond to them until you unlock. If you have two-factor authentication enabled, it remains active and will be required when you unlock.

How to unlock your account

To unlock, go to the Facebook login page and enter your email address or phone number and your password as you normally would. If you remember your password, you can unlock when ready. Facebook may ask you to verify your identity by entering a code sent to your email or phone—this is normal and adds a security layer.

If you have saved recovery codes from your two-factor authentication setup, you can use one of those instead of waiting for a text or email code. Once you verify your identity, your account unlocks and you regain full access. This can happen at any time—there is no waiting period.

If you cannot remember your password before locking

If you suspect your account has been compromised but cannot remember your password, do not lock it yet. Instead, go to the Facebook login page and click "Forgot Password." Follow the steps to reset your password using your email address or phone number. Once you have set a new password, then lock your account using the steps above.

Resetting your password first ensures you can unlock your account later. If you lock without resetting and then forget the password, you will need to go through Facebook's account recovery process, which takes longer.

When locking is the right choice versus other options

Lock your account if you still have access and want to stop anyone else from using it right now. It is faster than deactivation and more reversible than deletion. Deactivation hides your profile for 30 days and is better if you want a break but might want to come back—locking is better if you think someone else has access or you want to find the account when ready.

If you want to permanently remove your account, deletion is the option, though Facebook keeps some data for legal reasons. If you have lost access entirely and cannot log in, you will need account recovery instead of locking. Account recovery involves proving your identity to Facebook and can take several days.

Frequently Asked Questions

Can someone unlock my account if I lock it?

No. Only you can unlock it using your password and email or phone number. If someone else has your password, they could unlock it, which is why resetting your password before locking is a good idea if you think your account has been compromised.

Will my friends see that my account is locked?

Your profile will not appear in their feeds or search results while locked. If they try to visit your profile directly, they will see a message that the account is unavailable. You will not receive notifications that they tried to access it.

Can I lock my account and then delete it?

You can unlock and then delete, but you cannot delete while locked. Unlock your account, go to Settings > Deactivation and Deletion, choose Delete Account, and follow the confirmation steps. Deletion is permanent after 30 days.

What if I locked my account and now cannot remember my password?

Go to the Facebook login page and click "Forgot Password." Use your email or phone number to reset it. Once you have a new password, log in to unlock your account. This process usually takes a few minutes.

Does locking my account affect my Messenger app?

Yes. While your account is locked, you cannot use Messenger to send or receive messages. You can still see notifications about messages waiting, but you cannot read or respond to them until you unlock your account.