I'm still using the KVM switch I bought MANY years ago. It is a Belkin and was quite expensive but it enables the switching of monitor, speakers, mouse and keyboard for up to 4 computers.
( Although as I can only fit 3 computers on my table I am only using 3 of the ports

)
If one of your computers has Win10 just make sure to source a KVM that can deal with any screen resolution differences you might choose to use on your machines.
Apart from that any "quality" KVM should serve you well.