Himanshubhandari Go to Lockscreen in Settings, click on the text at the very bottom to bring up the Schedule settings, unselect that option.
For some stupid reason Nothing enables the AOD to turn off between 11PM and 7AM by default, so annoying.
If that’s not your problem then I don’t know, lol.