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.
How to use it: To match your icons to your phone, press and hold on your iPhone Home Screen to go into jiggle mode, tap “Edit ...