Whenever you're ready, walk me through how you'd approach this.
Tell me how you would solve a 9-digit lock code given a variety of rules.