How to undisable a locked iphone set for 437 years?

My friend has his himself out of his iPhone for 437 years and he hasn't got a iTunes account set up.

Turn it off then on is what worked for my I pod, not sure if it will work fir the I phone thiugh

1.either try what the previous answer said.
or
2. You will have to install itunes and factory default it:/

Thats the only ways i can think of.

Plug the device into the computer and open up itunes, then hit the "restore" button in itunes to restore the iPhone to default factory settings.