Apple removed the volume bar from the iPhone's lock screen a few years ago, but you can bring it back to your device now.
To enable them, go to your settings, tap “System,” then “Gestures.” From there, toggle on the ones you like. You’ll also find extras like “Flip camera for selfie” and “Lift to check phone,” so it’s ...