Default [Q] Using proximity sensor as power button for locking screen

Hi,
My phone is Huawei Ascend G525. I've installed AUTO SCREEN to lock my phone and turn its screen off automatically when I cover it up. I want to know whether it can harm my phone and its sensor?????