So everytime when I want to shut down my laptop I can't close the lid when it's shuting down as it would make the laptop go to sleep state.

I've changed the system settings in power option "action when close lid: no action"

This works fine when I'm logged in but when it's in shut down session the laptop would still go to sleep state.

So now I always have to wait till the laptop has been shut down then close the lid and leave.