This question already has an answer here:
I am using external usb keyboard. I want to disable laptop's internal keyboard using software.
I know that i can just remove the internal keyboards wire and disconnect it physically, but i wanted to disable it using software so that later I can enable it by just executing a command in terminal easily. I am talking about disabling the keyboard and NOT the keyboard layout.
I am having Hp-Compaq Presario A965 TU Laptop Intel Centrino Core 2 Duo(Freq. 2 GHz). I am using 64 bit Ubuntu Lucid Lynx.