Unlock just allows phone to be used with carrier other than AT&T, maybe I don't understand what your asking.
It will not stop you from updating, although an update in iTunes would remove the jailbreak and unlock.
I heard somewhere that if your phone is unlocked and you restore it will still stay on and when you go to updating it, the unlock will mess it up.
Is that true or false?