As far as I know, once you unlock the bootloader there is no way back. Even if you "relock" it, the system always keep on record that it has been unlocked at some point.
If you reflash an official firmware (and don't root after that) you can receive updates via OTA, but it's better if you...