I happened to have my sound set to internal speaker today when it stopped working again, the same as you describe, it hangs anything trying to play sound, including Youtube videos.
I fixed it again by opening the Audio MIDI Setup app and changing the setting on the affected monitor to a different setting.
Just for testing, I'm going to leave it on the setting that fixes the sound bug and leave it on that setting to see if it happens again in 3 days. Maybe it's the setting itself. I don't really care with a simple, loud sound feedback that I use the monitor sound for, I just need it to work because the internal speaker is impossible to hear in a non-silent room.
This also confirms that the bug is recurring about every 3 days and this fix is only a band-aid.
With all the people who buy LG monitors, it seems very strange that macOS 27 ever got out of beta testing with this bug. It almost makes me want to turn on beta updates, because it's obvious I'm already running beta software.