This paper focuses on researching and developing a smart security lock system using artificial intelligence, specifically facial recognition technology combined with the Internet of Things (IoT) to automatically recognize faces of accessing people.. The system is constructed with both hardware and software components, designed to verify the correct face stored in the database. The results show a high practical application potential, meeting the designed hardware and system programming objectives. The product can be used as an access control system based on facial recognition for government offices or industrial areas. Its advantages include cardless attendance tracking, fast and accurate verification, cost-effective installation, energy efficiency, compactness, and high efficiency.