Settings - apps - Samsung music. Once your in app info go to battery. Set to unrestricted or optimise. That way the app can run in the background while screen is off.
Hold your finger on Samsung music app icon. until a little pop up shows. You will see an I in a circle in top corner. Click on it, it will bring up the apps info that way to.