Just making sure I won't fry my motherboard?
If nothing but the contacts goes to the PCB you won't hurt the computer. 

If you want to be super-cautious, add a 0.1uF capacitor across the relay coil. That will ensure that when the switch opens, no serious spikes get coupled to the keyboard scan lines.