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.
I've been testing iOS 18.2 since the first beta, but I hardly paid any attention to it. That's because I'm an iPhone user in Europe, which means I'm not getting any of the Apple Intelligence features ...