Why do i get stupid adverts on my screen when my phone goes into sleep mode? I then have to swipe right to remove it before i can use my phone?
From previous experience this is probably something that's included with an app you've downloaded.
If you put the phone into Safe Mode which disables all your downloaded apps and leaves the stock ones alone you may find the adverts disappear.
Then it's a process of going through yohr apps one by one to find a rogue app.
Current Phone > Samsung Z Fold³ 5G.