You could try a Force Restart of the device, it will not change any settings but might clear what’s behind the issue.
https://www.macworld.co.uk/how-to/iphone/how-restart-iphone-or-ipad-3662903/
If that doesn’t resolve or the issue reappears once you play music again you might have to try Restoring your device.
iCloud: Restore or set up your iOS device from iCloud
But it before you try the latter make sure you are upto date with respect to iOS which is currently 11.2.2 - to check go to Settings/General/About and look at “Version”.
ps. These links might help, appears it not the first time this has happened!
http://www.idownloadblog.com/2018/01/11/how-to-fix-stuck-music-player-widget-loc k-screen/
http://mobileinternist.com/remove-music-player-widget-ios-11