You can disable the Steam overlay through the Settings or Preferences menu, depending on whether you're using a PC or Mac, ...
Turning off Steam notifications while you're playing a game is a great way to avoid any interruptions. Here's how.