Use arrow keys to move. Grab the axe to destroy the mushroom, and use the key to get past the locked path. Pretty simple.