I am the owner of a Samsung TV Q6NF and a Samsung monitor S24E370D.
When switching between PC and TV most of the times the TV will display the message no device detected (so it does not detect the signal coming from the PC).
Even if the connection is established, it can be interrupted resulting in black screen followed by same no device detected on the TV and constant blacks screen on the monitor. Only option being a hard computer reset.
This happens if you chose from Windows 10 to select Display 2 instead of display 1(in my case the monitor).
It does not happen if you chose Extend or Duplicate display. Options also available in Windows 10 Display settings.