Option "when I close the lid" missing on power settings after update from Win 7 to Win 10

Solution 1:

Open Power and Sleep Settings > Click Additional Power Settings > Click Choose what closing the lid does (it's on the left hand side of pane). There are options for both when the laptop is on battery or plugged in.