Lock the ringer and alert volumes

Go to Settings  > Sounds, then turn off Change with Buttons.

Note: To limit the maximum headset volume, go to Settings  > Music > Volume Limit, then use the slider to set the maximum volume.