Millimoles of NH3=100×0.05=5mmol
Added HCl=10×1.0M=10mmol NH3 gets completely neutralised, solution turns acidic that is now not the buffer solution. In all other cases, m moles of NH3 are higher as compared to m moles of HCl. Thus, they remain as buffer.