Disable laptop build-in keyboard
check input device ID:
xinput list ;by this you should remeber vitual core keyboard ID(master ID, 3 in my laptop), and AT keyboard ID(13 in my laptop).
Disable:
xinput float $(ATkeyboard ID) ;command as "xinput float 13" for me.
Enable:
xinput reattach $(AT keyboard ID) $(master ID) ;command as "xinput reattach 13 3" for me.