I have a computer that runs 11.2 and there I have Spotify (wine) going. Whenever I leave the computer and it locks the desktop it also does something to the soundcard. The Spotify-client complains that the soundcard is not usable. I have pulseaudio running.

Any remedy for this? I would prefer not to turn off pulseaudio.