BB Desktop Manager has an option just for this. Some apps are tied to the PIN, so if you use any of them you'll have to use the developers process for switching the app.
Posted from my CrackBerry at wapforums.crackberry.com
If you bought any apps from the Crackberry Store (or Mobihand) you can use the MyAccount page to change your PIN and get new registration codes automatically.