There is a yoga kriya I learnt called "Dura Shravana"(Far Hearing) which is meant to help one zone out of the surrounding sounds and maintain focus. What one does is to place attention on the farthest sound from one's self then successively move to closer sounds in order culminating in the sound of one's breathing. And then, mentally recall the sounds in order. (For example, ambient background subtle sounds, car on road, bird outside window, neighbours door, the fridge, the breath). With practice, surrounding sounds dont affect you. If someone is interested, I can send a link to a teaching video. It is meant to be practiced after doing the alternate nostril pranayama as it enhances the effects of the pranayama.