Can't do this in Windows settings alone. To completely hide the taskbar, we need to go for third-party tools. There are many tools around. Do a Google search for "Permanently hide Windows 10 taskbar". As I have not tried any of them, I shall not recommend any single one. Be careful of malware!