User Activity

When I press the device lock button or double-tap on the screen, the fade-out animation is not working.
Guys today i just updated to one ui 7 and after update my lockscreen animation not working properly how to fix it