How to unlock the Bootloader on both the HTC One X and HTC One S is a pretty easy process and is documented on HTCDev.com. If you want to follow along here there is a little more detail here. By unlocking your HTC One X or One S bootloader you can easily root the device to install custom ROM’s and completely take control of your device. Take note that unlocking the bootloader will cause a wipe of your personal settings and apps but will keep your images and videos in tact. The instructions to unlock your HTC One X and One S bootloaders here are Windows only.
Unlock the HTC One X and HTC One S Bootloader:
Enable USB Debugging Mode “Settings -> Developer Options”