Extremely important advice: write down any firmware password you set, and store it in a safe place you will remember. If you forget the password, you'll have to take your computer into an Apple Store, and bring proof of original purchase.
Note: If your Mac is too old to set a firmware password, then there's no way I know of to disable the resetting of NVRAM / PRAM.