Block Diagram of the password based lock
First system wants a predefined password and LCD will show the message “ ENTER PASSWORD”. The length of the predefined password is four letter. If the user’s given password matched with the predefined password then only the lock will open. If not matched then LCD will show “SORRY”. If user will attempt to give the password three times simultaneously then the microcontroller will stop the access of the user for some times.