Maybe you could do something with dpms but that leaves the keyboard active still.
Going from local to RDP to local feels seamless and secure. I wish we could get that experience on Linux.