Turn the display off using the proximity sensor
https://julietapp.blogspot.com/p/troubleshooting-general.html
How to uninstall
Device administration must be disabled before uninstalling.
Just click on the button at the top right and select the "Remove active admin" option.
This app allows you to turn the display off using the proximity sensor.
Just cover the proximity sensor to turn the display off.
NOTE: The proximity sensor usually sits up near the top speaker.
Features and Benefits
• Persistent service: Background service.
Autostart on boot and after update
• Ability to set a delay
• No root
• Easy to use
Options
• Screen Off
• Screen Lock
• Screen On (when release)
NOTE
This service does not interfere with the proximity sensor during a call.
Other versions
https://play.google.com/store/apps/details?id=com.argonremote.proximitysensor
https://play.google.com/store/apps/details?id=com.argonremote.proximitysensorplus
Proximity Sensor Cover, Wave Screen Off, Auto Screen Off, Auto Screen Lock