Lenovo z5 - nearby optin

The screen turns on automatically by the phone sensor and then turns off a few seconds later, and there is no option to turn it off or off in the settings. Please set an option in the settings to enable or disable it.
I think this option existed before but has now been removed.
Thank you very much.