Widget 'Locked State' Setting/Checkbox

I like to keep my app screen constantly on, and occasionally my finger will inadvertently brush across the slider (and a button once in a while) and it came to my mind that it might be nice to have a ‘locked state’ checkbox in the widget setting menu.

You can do that with just a few lines of code.
I had the same problem.
create a button called lock screen.

         BLYNK_WRITE(V25) {  // get profile to use
         pit_offset = param.asDouble();
         if(! lockedscreen) {Serial.print("tmo");Serial.println(pit_offset);} // send load profile to arduino routine
         }