noTunes is a macOS application that will prevent iTunes or Apple Music from launching.
Simply launch the noTunes app and iTunes/Music will no longer be able to launch. For example, when bluetooth headphones reconnect to a laptop which may trigger iTunes/Music to open.
You can enable/disable the apps functionality via the menu bar icon, which is a simple toggle.
noTunes 2.0 (with menu bar icon): noTunes-2.0.zip
noTunes 2.0 (without menu bar icon): noTunes-2.0-noMenu.zip