iPhone security lockout
last night I was using my phone and everything was fine, then I put it down so that I can go to sleep, then as I wake up I heard an alarm that I didn't set up and my screen automatically says "security lockout". How can I unlock my phone without erasing anything. please help.
iPhone XS Max, iOS 15