Automatic braking in the stand switches off irregularly

With my XC60 B4 MY22 it happens that the “automatic brake in the stand” has turned off by itself. Interestingly, only when my wife has driven. Not always, once in 3 weeks. Is then stupid, if one does not pay attention to the switch (should always be activated), drives again and at the first traffic light the car continues rolling. Of course, it does not switch it off manually. Any key/heel/pedal constellation seems to cause this occasionally. Have the other already observed? Explanations? Greetings