lock puzzle application