It depends on how Outlook plays those sounds. It could be they play it in a way that to macOS looks like a normal audio, not an alert or notifications. macOS has got no way to know what should block and what not if the app itself doesn't tell it what's playing.
On iOS it's easier, everyone uses the right API, on macOS it's a bit of wild-west thanks to all the previous custom implementations.