Run the following command in a terminal:
xinput list
It displays all the input devices connected. Note that they all have an id. Now use the id to disable it.
xinput set-prop 12 "Device Enabled" 0
https://askubuntu.com/questions/65951/how-to-disable-the-touchpad