You want to change the USB Auto Launch setting.
On- tells the car to change the display to CarPlay when an iPhone is connected to USB.
Off- leaves the display unchanged. CarPlay will still connect but you will have to manually switch to it by using pressing Projection on the home screen or...