Only to Turn off builtin speakers?
If the speaker itself is on the motherboard, then there's likely a setting in the bios to disable it.
If the speaker is part of the computer case, then you can simply disconnect the header connecting it to the motherboard.
In both cases your motherboard manual should have more specific information.