Phone blinking insanely after running tests for the first time

After i ran my very first tests in a device, the phone that i was using went kinda funky.

After i rebooted the phone, the screen begun to blink insanely, like refresing the screen all the time.

I tried to reproduce this situation once again with another phone, and the same thing happened. I had to hard reset both devices.

Also tried to uninstall unlock and appium settings using adb, but it didnt worked.

Here a vídeo of this issue: