1. In your Mac, go to “System Preferences -> Accessibility”.

  2. On the left pane, select the “Mouse & Trackpad” entry. Select the option “Ignore built-in trackpad when mouse or wireless trackpad is present”.

That’s it.