I have one of these in my home office. Just press a button to switch from my work laptop to my PC, including all peripherals like speakers, webcam, mic, etc. My only complaint is that the audio behaves a little strangely. It buzzes and pops loudly when switching and during startup, and I’ve had to customize my audio configuration to account for some of the quirks, but it’s painless at this point.
This is the one I use https://www.avaccess.com/products/4ksw21-dm/