we want to make a project on digital lock with lcd and keypad.can u suggest some idea.we need to use AT 89c51 for this.We had seen a project on this using AT89c2051..Please suggest something apart from this as soon as possible.
I recommend you familiarize yourself with the Finite State Machine coding technique. It makes it much easier to initially code and then to debug your code when it fails to operate as you intended.
Here is just one explanatory link to the technique. There are hundreds of other links that can be found on the Web.