you can not change a .22lr into a 17hmr, the 17hmr barrel is for a 10/22 chambered in 22 mag. you can buy conversions to change your .22 into a 17m2. there is some work required because the preasure curve of a .22lr and 17m2 are different. go to
www.rimfirecentral.com theres lots of into on customizing your 10/22.