Soldato
The search term you want is KVM. A KVM allows you to switch keyboard-video-mouse (and with some models USB and audio) from multiple inputs to a single output.
In your case you want one which supports DVI and then only make use of that connection not the other ports.
In your case you want one which supports DVI and then only make use of that connection not the other ports.