PS: In "Password and security" you can also add a "Verification Selfie". I highly recommend you do it if available on your account.

PS: In Password and Security (Login and security) you can also add a "Verification Selfie" and "Passkey". I highly recommend you do it if available on your account.

You can also go to Settings > Privacy > Advanced, turn on "Strict Account Settings". However, only do this if you're receiving codes.
These steps may not completely prevent you from being logged out, but they can help secure your account and make it easier to log back in.
