Hello dear professionals.
I am writing this text with Google translator. I am from Russia and I am 60 years old. I made a program for my workouts - it’s a voice timer. When I do yoga, I have a headstand, I need to know how many minutes to do this exercise in order not to harm my health. When you stand upside down, looking at the clock is not very convenient ;-). I made a program that works like a stopwatch and says seconds - five to ten - etc. But there’s a problem! And I need your help!
The program is simple and works without any problems, but when the phone falls asleep the program stops working. The phone settings are set to auto-lock the screen after 2 minutes, I do not want to change this setting. The question is - how can I prevent my program from allowing the phone to auto-lock and continue working in the background? Help me please!

https://x.thunkable.com/copy/02584ecc9426719dbff28210a9b00f46