the usual cause id due to a running task not terminating or releasing ram
when you shutdown windows sends a close all running apps/processes and once they close it finishes the shutdown
check your windows log files, and/or start the laptop with no apps or auto startup's running and check if it now will shutdown, booting in safe mode is a quick way to do this