If you don't need/use Apple Music, you can install noTunes to stop it from launching, note that this stops you from even opening it manually. You will also need to set it to start on login.
Stop F8 key from launching Music (the new iTunes)
If you don't need/use Apple Music, you can install noTunes to stop it from launching, note that this stops you from even opening it manually. You will also need to set it to start on login.