A piano has many keys but cannot open any locks. The 'keys' in the context of a piano refer to the levers that are pressed to produce musical notes. This riddle plays on the double meaning of the word 'key', exemplifying the distinction between a physical key used for locks and the musical keys used for playing instruments. It's a clever use of language to create a subtle yet interesting confusion.