For some reason when I use certain apps to play video/music on my s23 and then lock my phone, after 2-3 minutes the video/music stops. This for apps like YouTube (premium) and TuneIn radio. As soon as I unlock the phone it starts playing again. Samsung music and Spotify seems to work fine. Multiple apps are affected in the same way so it's not just an issue with YouTube.
I've changed app battery settings for individual app to never stop running in the background but that didn't help. Also checked the apps were not on list of sleeping apps.
Anyone else experiencing this problem?