Challenge 7

Counting down will give you the next lock code.