"The light is like displaying your Skype status - it tells your colleagues whether you are busy or open for a chat," said Thomas Fritz, assistant professor at University of British Columbia in Canada.
The lamp, called FlowLight, switches between green and red based on the keyboard and mouse activity. It was tested with about 450 employees with positive results.
Researchers found that not only did the employees report fewer interruptions, it also changed the office culture so that people were more respectful of each other's time and aware of when they could interrupt a colleague.
"It is important that the light changes automatically because once someone is focused on a task, stopping to manually turn on a light, close your office door is disruptive to the work and cumbersome," Fritz said.
More From This Section
"When you are interrupted, it can take a long time to get back into your work and it is more likely you will make mistakes," he said.
The FlowLight is designed to only turn red for a maximum amount of time each day despite how hard someone works. That feature is key to preventing employees from feeling guilty for not working hard or getting competitive with one another, Fritz said.