Is there a task manager for mobile?
You can open Task Manager on Android smartphones in the multitasking panel button by the right/left side of your phone's Home button. To exit any app, simply use the Task manager icon by pressing the multitasking button and then tap on X beside the specific app you want to close.
How do I automate actions on my phone?
Action Blocks is an automation app from Google. It has direct integration with Google Assistant. You can tell the app to do a thing at a certain time and Google Assistant performs the task at the appointed time. You can do quite a few things like turning your lights and off.