I did it recently by accident. When it asked for an email address I entered fuck@off.com with the C word as the password.
This obviously failed as a legitimate Microsoft login, but it did, very handily, offer the option to create a local account instead.