The only way I found of disabling sounds caused by native Windows dialogs (for example, when deleting a file) is to switch to VSCode's built in dialogs, which are always silent.
Add this to user preferences JSON:
"window.dialogStyle": "custom"