There is no direct way to turn the touchscreen on or off on a Chromebook. However, you can work around this limitation by enabling one of the Chrome flags, which are experimental features developers can test and use to enhance the browser's functionality. With that flag enabled, you can enable or disable the touchscreen using a keyboard shortcut.
How to Disable the Touchscreen on a Chromebook
If you only use your Chromebook's touchscreen occasionally and want to turn it off, here's how to do it.