How to protect your iCloud account
>>> Use two–factor authentication to add more security to your iCloud account. It ensures that people can’t log in as you from other devices even if they have your Apple ID and password. If someone tries to log into any iCloud service from a new device they’ll be asked to enter a code that’s only shown on your other Apple devices. Switch on two–factor authentication in System Preferences > Apple ID > Password & Security.