Have you done a new install?
If yes then here is a guide: https://www.tomshardware.com/how-to/install-windows-11-without-microsoft-account
You can also do it by not creating the image using the MS Image Creation Tool but just download the ISO then use Rufus to create a USB key. One of the options at the end is to create a local user and remove the requirements for an online account (There are also several other helpful options as well).
Hope that helps.