I tried that. Created local accounts on both computers. The Windows 11 computer shows up in the file explorer window under network but when I enter the username and password it then complains that:
\windows11computer is not accessible. You might not have permission to use this network resource blah, blah, blah (more Microsoft nonsense). I looked at the permissions setup stuff and nothing was out of the ordinary including the Microsoft far to complex permissions procedure (too much techospeak BS).
And even though it accepted the local user credentials it ignored my specification that it remember the credentials and I have to enter them every time.
Adding insult to injury, I can create a mapped drive and access its contents if I use the local IP address instead of the computer name. That may be the only way to work around Microsoft's terrible sharing implementation.