xinput – how to disable my laptop builtin keyboard permanently?

Respected members,
My laptops built in keyboard is broken or not working its automatically pressing keys , then i used x input but when it get switch off X input is disabling,when i boot up keyboard will automatically back online and it disturbing booting of the system. Is there way permanently disable the keyboard?