Put the phone into Safe Mode which disables any downloaded apps but leaves the stock ones working just to rule out a downloaded app.
Please check all preference settings and any add on apps like Goodlock etc.
A Samsung Experience Store or Samsung Service Centre can help too @andyskyr
Daily Driver > Samsung Galaxy s²² Ultra 256Gb in Phantom Black.The advice I offer is my own and does not represent Samsung’s position. I'm here to help.