If you accidentally unplug your headphones from your Windows laptop, this will mute your laptop's built-in speakers.  (This is what iOS does; I'm just porting some of that goodness to Windows.)