Two-factor authentication provides extra protection to your account.
To enable it, click the profile icon on the top right to reveal the drop down menu.
Click the edit icon next to your email to access your profile page.
You will find the Two-factor authentication settings there.