If you don't see the option to turn off two-factor authentication on your Apple ID account page, that means you can't turn it off. If someone has turned on two-factor authentication for your Apple ID without your permission, you can also turn it off from the enrollment confirmation email sent to your Apple ID or rescue email address.