This document describes a password-based door lock system using an 8051 microcontroller. The system uses a keypad to enter a password, which is compared to a predefined password stored in the microcontroller's memory. If the entered password matches, the microcontroller will open the door by activating a motor. If an incorrect password is entered more than three times, an alarm will sound. The system is designed to only grant access to those who know the correct password, while denying access and potentially alerting others for incorrect password attempts.