Quick fun game! Need to think fast to try to use the least number of loops, keeping track of which locks are already 'good enough'.