Updating iphone with locked sim?

Can I update my iphone 5 to iOS 7 with a locked sim? I don't want to get stuck in the activation screen.

Of course you can. Don't worry about it.

Hi, you can't update with locked sim. If you do, you have to activate it.

You can do it if you have the original sim. If you don't have the original Sim, you can opt for unlock it.