How to set up Two Factor Authentication for iCloud

To begin, open up System Preferences | iCloud. In the resulting window, click Account Details and (when prompted) enter the password for your Apple account (not the password for your macOS device). Click the Security tab and then click Turn On Two-Factor Authentication (Figure A).

Figure A

Enabling two-factor authentication.

5 Ways to Make Your iPhone More Secure

Turn off lockscreen notifications- Even if you have a strong password possible, your private data can be revealed by notifications on your lockscreen. This could be appointments, confirmation codes, financial data, etc. The less information that shows up on your screen the better your security will be.