Create a samplertrack.
Write an automated mute/bypass on this track.
Keep the automation on “read”.
Now - when you “solo” any other track (audio, midi, instrument…) this samplertrack also turns solo.
Turn the solo on the other track off - the samplertrack stays solo.
Makes no sense.
Regards
grello