I was playing around with the Accessibility settings & clicked on the Universal Touch switch. After that my Samsung Galaxy S7 Edge froze up. Couldn't use the power off button so a hard factory reset was impossible. Kept moving this blue border around every item on my lock screen while making this awful beeping sound. It did say to press the home button quickly 3 times, tried it and it didn't work. So went into panic mode, found this website and sandhu1984's comment. You and the other's saved my life, so a huge thank you