Completely off or perhaps into just hibernation/power saving?
However, I am not sure about what you mean: you did a clean install and the laptop is now turning off automatically.
And now you are trying to reinstall Windows 10 and the laptop continues to power off during the installation attempt - is that correct?
Laptop: make, model, specs?
Where did you get Windows 10?