Two-factor authentication is enabled by default on new Apple IDs and cannot be turned off.
If you have an old account and recently activated Two Factor Authentication note this section of an Apple support article:
"Two-factor authentication for Apple ID" - https://support.apple.com/HT204915
-->
"Can I turn off two-factor authentication after I’ve turned it on?
... If you recently updated your account, you can unenroll within two weeks of enrollment. Just open your enrollment confirmation email and click the link to return to your previous security settings ..."