I made an alarm clock in C# that requires you to solve math problems in order to disable it. I wanted to add the ability to disable any attempt to mute the sound but that requires working with Win32 APIs which are a major pain when using managed programming languages like C#.