To fully disableapple carplay in order to have your iphone not automatically connect to the car, then open up settings, find CarPlay under general, Tap your car in the list and select Forget this Car, you can also simply unplug the phone out of the car head unit or turn off CarPlay in your Screen Time restrictions as well.