Apps restart When i lock screen or go in background


Dec 25, 2021
Hey guys im new here i was wondering if someone can help me fix this issue.
I have a redmi S2 with MIUI latest stock update available on this phone).
My issue is that apps restart/turn off when i switch to another app and come back or when i turn off the screen for example I'm using vlc for music and once i lock the screen the music stops and when i unlock the phone the app opens like i just launched it
This happens with every app without exception.
One note i want to add. Rebooting the phone fixes this issue for around 2 days and then it comes back.
Every little help is appreciated