Changing the device pin is not possible but changing to a new Blackberry phone and keeping the various associations with Blackberry ID is possible.
https://help.blackberry.com/en/black...098565590.html
https://help.blackberry.com/en/black...597603442.html
keep in mind, if anyone could change the pin ( or imei ) associated with a phone there would be zero security and any info on or in your phone could be gained.