with my synaptics touchpad I do it with synclient (but I have an external usb mouse)
Code:
synclient TouchpadOff=1
as the mouse will be turned off, you can launch this in a terminal and switch back with alt-tab to it to re-enable
Code:
synclient TouchpadOff=0