after doing your phone S-OFF, you do set follow functions on factory settings

- sim lock
- hboot lock ( this is the bootloader lock, you will be able flash cooked rom after this)
- cid lock...