Many HTC models can be bootloader unlocked through the HTC Developer program. You’ll find complete instructions for doing it here, as well as warranty information you need to know if you give it a try.
The HTC 10 is easy to root, and using the HTC Developer tools to unlock the bootloader allow for sending images to the phone to enable rooting and even more. There are also commercial services like Sunshine that can root your phone through an app or provide mail-in services where they do it for you. Again, it’s up to you to decide if you feel comfortable with these services or if you would rather use the Android SDK and do things the manual way. Both methods are known to get you rooted and ready to do the things you wanted root to do.