This project remakes simply key passcode for the door locks. You should type the correct password and the lock will open. If entered the wrong password 5 times,  it will give an Alarm sound. Then have to press the # button to reset the password.

Main code