Phone asking "SIM network unlock PIN" after flashing new Stock ROM on Xperia S
Try this...

Link to LT26i firmware

You might have flashed different firmware that's the issue or Your phone might be factory locked... Try the solution in the link provided... :-)