Nowadays, you can control your lights, door lock ... work with external sensors, meaning that you can place sensors around your home to connect with the thermostat. The Ecobee Smart Thermostat ...
So, while you can use the Ecobee Thermostat as a ‘base station’ for your security system and to check who’s at the door, you can’t lock or unlock your door using the thermostat.