Okay so, earlier this week I turned on a setting in my Samsung Galaxy S9 which then every time my phone tried to shut off, it flashes pictures from one ofy folders in my gallary, I at first thought this was cool and kept it but then I realised my notifications make my screen wake up so in the night when I'm trying to sleep and I get a notification, my screen stays on until the morning, where I can tap the screen and it goes. If anyone knows the name of this setting or knows how to disable is please tell me, I'm begging you...