How to disable the inbuilt trackpad completely?

I want to disable the inbuilt trackpad completely when external trackpad is connected..
i turned on this setting in the system settings... it only turned off the drag functionality, all the gestures i setup in BTT, still working.