You'll probably see PowerShell instead of Command Prompt unless you're using an ancient version of Windows 10. The Creators ...
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.