Htc 820u A51

I have this phone in restart condition
Can i make S-off it can i unlock bootloader
Of it can i get flash file & flash with ir key