You can also turn the sound off by clicking on “File“, “Options…” and then “Sounds and Alerts” and unclicking the click box “Play sounds when:”.
You can update your status to “Busy” but there is no easy way to stop messages from being received, unless you block the contact.