Form over function often fails

Have you ever been asked to program something as simple as this chain lock for a door: And after it has gone through the design process, »