Your Mac will automatically go to sleep when you leave it alone long enough, but you can customize the sleep settings to your liking.
Control your Windows display with ease. These methods let you turn off your screen on demand while your PC keeps running.
To use the iPhone's sleep timer, set a time in the Clock app's timer, and set the When Timer Ends option to Stop Playing.