Roku operating system version 10.5, which is currently rolling out, has added a new "Power" item in the Settings > System menu for some newer Roku models, like the Streaming Stick 4K..
If you have this "Power" item, under "Auto power savings" see if deactivating "After 20 minutes of no interaction" fixes the problem.
Roku Community Streaming Expert
I am not a Roku employee, only a user like you. Please, no support questions via private message -- post them publicly to the Community where others may benefit as well.
If this post solves your problem please help others find this answer by clicking "Accept as Solution.".
Streaming Stick 4K+ 3821 | Streaming Stick+ 3810 | TCL Roku TV 43S245/C107X