supervision

when your laptop locks, the monitor it shares switches to the desk mac.

Download for Mac
laptop locked desk mac USB-C
how
it sets the monitor’s input to HDMI over DDC/CI. the way back is the source button.
also
the shield in the menu bar, or ⇧⌘ keypad −, switches by hand.
needs
a Samsung LS27A600U, Apple silicon, macOS 13 or later. not yet notarized.