All phones came with their bootloader locked, some phones from network carriers will not allow the bootloader to be unlocked. However, if you have a sim free phone then you can unlock the bootloader via Sony site. There is a guide on the forum, it's basically same as Z1.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?