CEC functionality is limited with Roku players. The only control it can provide on the TV is changing the input to the one used by the Roku, changing the volume, and powering the TV off/on. It cannot access any of the menu items on the Samsung itself, so the only way to set the sleep timer on the TV is with the TV remote.
Dan
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee, just another user.