The Internet of Things Is the Idea of Associating any Gadget (Inasmuch As It Has an Onoff Change) to the Internet and to Other Associated Devices. a Safe Home Framework Comprises of an Entryway Lock Framework Which Has Been Perhaps the Most Popular Purchaser Devices Replacing Many of the Conventional Locks Because of Sheer Client Comfort and Affordable Costs. Iot Security Covers Both Physical Gadget Security and Network Security, and Impacts the Cycles, Advancements, and Measures Necessary to Ensure Iot Devices and Networks We Proposed the Application Will Learn from the Client Behavior and Increase Security Accordingly. the Details of the Client Accessing the Lock Will Be Put Away In the Server Along With Date and Time Which Can Be Additionally Used to Foresee the Occasions When the Client Will Go into the House and Handle Security Accordingly. We Used House Module, Control Module. Home Automation, Being Quite Possibly the Most Integral Parts of the Sprouting Realty Industry Paves Forward the Need to Establish a Basic Yet Productive System That Through Training Anticipates the Client's Actions and Executes It For Them.