Electronic code lock with multiple user ID and password system using 8051 microcontroller, which provides control to unlock the lock or door.This system is a Password based electronic Lock System using 8051 Microcontroller, wherein once the correct ID is entered and then the code or password is entered, the lock is opened Again, for the next user the ID and password is required to enter.