Two-factor authentication is a security feature. If you set up two-factor authentication, you'll be asked to enter a special login code or confirm your login attempt each time someone tries accessing Instagram from a device we don't recognize..