iPhone - How to turn off the music widget (on the lock screen)?
Swipe halfway up to open the app switcher, then swipe up the app that was playing music ( apple music probably, because the other apps get terminated by the OS pretty quickly ), that will force close the music app and stop showing the controls in the lock screen.