Security & 2FA
Each account has its own security settings, in Settings → Account. They apply to your own login, so every user can set them up.
Two-factor authentication

Two-factor authentication (2FA) adds a code from an authenticator app, such as Google Authenticator or Authy, on top of your password.
To turn it on, choose Set up 2FA, scan the QR code with your app (or enter the code by hand), then enter the 6-digit code to confirm. camera.ui then shows a set of backup codes; save them somewhere safe, as they're the way back in if you lose your phone.
Once enabled, you can regenerate backup codes or disable 2FA, both of which ask for a current code.
Active sessions
The Active sessions list shows every device signed in to your account, with the current one marked. You can sign out a single device, or sign out all the others at once, which is handy if you've logged in somewhere you no longer trust.
Password
Change your password under Account. Changing your password or username signs you out everywhere, so you sign back in with the new details.