Auto disable virtual keyboard when plugin a physical keybord

I’ve got a cute K3P (75% keyboard)

I’m wondering how to auto disable the virtual keyboard when I plug a physical one …