You don’t need to worry about infinite lives because the game comes with infinite lives, so there is no need to apply any other method.