Yes, you can deselect the option ‘Reopen windows when logging back in’ in the restart or shutdown windows.