Epic Interview Question

Design an alarm system that accepts incorrect code under certain conditions