audio – Sound doesn’t stream from TV when the lid is closed

When I connect laptop with TV, start playing some video and trying to close the laptop’s lid the sound starts streaming from laptop instead of TV.
I use Type-C – HDMI cable.

Expected result: Sound streams from TV.
Actual result: Sound streams from laptop.

Is there is some workaround for this?

Thanks in advance.