To activate invincibility, at the starting menu, press X(2), Square, Triangle, Circle(2), Start.
Master of the prison:
To easily defeat the Master of the prison, use the Gale attack. Hit him with the gale, then run. Repeat the hit and run strategy until he has been defeated.