Not sure what's going on with the music. I sometimes have it play random Apple Music when first connecting to CarPlay. Outside of that itt fairly reliably removes music when paused from the lock screen after a few minutes which honestly can be annoying, but keeping it on there forever isn't great either.