One way to do this would be to buy (e.g) a bunch of white caps and tell your coworkers to wear them when they need to concentrate, and to not disturb others when they are wearing them. I know of at least one company that does this and it works well for them. You can also do this with headphones, just tell your coworkers politely.