Set your Switch Sensitivity to the maximum. This reduces the delay when a switch is pressed, and hence makes engaging dual switch functions harder.

Alternatively, you can enable Dual Switch Lock in the Controller Settings.