You might have a habit of working in a place where there are no noises around. It’s very easy to concentrate in such places.
But, imagine you are put in a place, where there are so much noise, but you don’t have a choice but to finish the work. You have to concentrate.
So you need to adapt yourself. May be sometime you should train in such a way that you can concentrate in such places. Atleast, I have started to adapt to such situations. Coding takes more concentration, I am trying to force myself to write logics during lot of noises around. Of course you can’t do it every time, but, you have to do it when you have no choice.