After doing that ,do the below steps to disable the laptop keyboard permanently:
- Press the Win key and type cmd in the Windows search bar.
- Right-click on Command Prompt and select Run as Administrator. Click Yes when the UAC prompt appears.
- In the Command Prompt window, type the following command and press Enter:
sc config i8042prt start= disabled - When the success message appears, close the Command Prompt, and restart your PC. After the restart, your laptop keyboard will stop registering any inputs.