The example of two-factor authentication is:
After inputting your password, you receive a text message with a unique pin.
Two-factor authentication (2FA) requires two different forms of verification to confirm the user's identity. In this case, the password is the first factor, and the unique PIN sent via text message is the second factor.