Hi @MartynK, welcome to the Sonos Community!
It’s possible that the TV the Beam is connected to has a setting that automatically adjusts volume and I’d suggest making sure that setting is disabled. Most TVs call this “Auto Volume, though it may be called something different with your TV, so make sure to check your TVs manual.
If you don’t have this setting or it is disabled, then please submit a diagnostics when this issue next occurs and reach out to our support team with the diagnostic reference number for further troubleshooting. The diagnostics will show where the volume/mute command is coming from and why the Beam is being set to 0. It seems from your post that this issue is easy enough to replicate, so doing so and submitting a diagnostics of the issue would be the quickest way to resolve this.
Before you reach out, one test you can perform would be to swap either the Beam to a different TV or to use a different soundbar with the TV the Beam is connected to. If you can replicate the issue after changing devices, then it can help our team narrow down where the issue lies.
I hope this helps!