The Berlin key is a type of door lock designed to force people to close and lock their doors, typically used for main entrance doors or gates leading to common yards or tenement blocks. It was invented by Johannes Schweiger and mass-produced starting in 1912. The key has two blades and can be operated in two modes, selected using a master key, to ensure the door is locked at night and not during the day. As of 2005, an estimated 8,000 to 10,000 Berlin keys were still in use in Berlin.