2 Factor or Multi Factor Authentication is available directly within iOS 15+ and more recent Android but on iOS it’s called Verification Code. You can set it up using the set up key from the website you signed up to or the QR Code.
If your account is a shared account, however, 2FA becomes a bit of a necessary hassle.