Failing the same level three times in a row will unlock the Mighty Eagle. However, in order for the unlock to occur, you must wait for the results screen to appear before retrying.