If your HTC Android device was released after 2011, then you could unlock its bootloader , HTC has built a website for HTC users who want to unlock their phones’ bootloader.
You could check out if your HTC Android device is supported unlock bootloader by visiting the HTCDev.com. The first support unlocking bootloader device is the HTC Sensation (EU) FOTA 1.45.301.2.