Steam offers the Steam Guard two-factor authentication service.
Steam Guard is a service that requires additional authentication when logging into your Steam account from a computer that has not been previously logged into.
You can receive a special access code sent to your registered email and enter this code when logging into Steam,
or input the mobile authenticator code from the Steam app on your smartphone.
For more details, please refer to the Steam website FAQ.
[Go to Steam Guard FAQ]