Ivan, welcome to the forum.
JG is right. A lot of receivers will have an automatic setting that will pick the appropriate sound mode. If you specifically select a certain mode (stereo, pro-logic, etc.), though, the ones I know of will stay with that until you select something else.
I've come across what you're talking about quite a few times, though, and I'm frankly unsure if what JG mentioned (and I parrotted) is the issue. When watching television and listening through two different models of Sony receiver in automatic mode (both at my brother's house and a friend's house), the Sony's never switched out of stereo playback. Even when I was pretty sure that the broadcast was in dolby surround, it still read as stereo. I never tracked down if the receivers weren't recognizing the surround signal or if the television broadcast was actually just stereo. I'm wondering if someone here can enlighten us both on this, because that makes me wonder if the automatic mode is the solution to your problem or not.