Over time, Microsoft has tacitly encouraged you ever more to create a Microsoft account, but it’s never actually blocked you from creating a local one.
But beware if you’re trying to set up a local account. Cortana is there to assist you to set up a new Windows 10 PC or one which you’ve reset.