Go to Settings -> Sounds and Haptics, there us a switch to enable changing the ringer volume with the side buttons, turn it off, that might help you
Go to Settings -> Sounds and Haptics, there us a switch to enable changing the ringer volume with the side buttons, turn it off, that might help you