I can't speak for Linux, having never used it, but in Windows 10 you do have sleep as an option. Go to Settings--Power & Sleep. Sleep will be your default behavior, but you can change settings for what happens when you press the power button, close the lid, etc.
In the Power & Sleep tab, click on Additional Power Settings. In the box that appears select "Choose what the power buttons do."
Here you will find options for Power Button, Sleep Button and Close the Lid. Those can be fine-tuned for AC and Battery and options vary for each button. For example for the Power Button choices are Do Nothing, Sleep, Hibernate, Shut Down, Turn off the Display. For closing the lid the Turn off the Display option is missing, probably because it turns it off anyway.
There is also a box you can check to have hibernate added to the power menu.
Hibernate is similar to sleep, except rather than open documents and applications being saved to RAM, they are saved to your hard drive. With lightning-fast SSD's, I think the distinction is far less minimal than it used to be.