If you can't pass level 3, then here's the answer (if you haven't tried it yet, then don't read this!)
You need to press three parts of the key (counting from the wrench on the left) and play the melody by pressing alternately 1 2 3 2