Unfortunately, laptops do not work as external monitors for your Nintendo Switch. This is because the HDMI port on your laptop is HDMI-OUT, which only outputs video and audio signals.