With the release of iOS 16 in 2022, Apple removed the volume slider from the iPhone Lock Screen except while using AirPlay. In iOS 18.2, however, Apple has decided to bring back that capability with a new “Always Show Volume Control” option in the Settings app.
more…
Source: 9to5Mac