How to customize your shutdown button to make it log off, restart, lock, or whatever you want it to do.
Right click taskbar > properties > ‘start menu’ tab >
‘Power button action:’ > Dropdown menu > choose the action
Apply > Okay
Now, when you click the power button in your start menu, it will follow this action.