Program Schedule Job to Stop a BOT task

Hello All,
Good day.
Is there a way to stop a program name from closing after the BOT is completed or in paused for a while?
Reason for this is that I need to stop the run of the program BOT after work hours on Friday and turn the BOT again on Monday to avoid the still recording steps in the LOG and avoid the increase of the LOG steps when the BOT is not doing anything

Many Thanks !