Dear sv_backlit,
Welcome to the Microsoft Community.
I understand that when you are creating a shared folder in OneDrive you are experiencing what seems to be an issue of freezing on the creation page and not being able to create it successfully. I do understand the frustration this causes you.
I immediately tested in OneDrive for Windows , sharing the file with a specific person, but did not reproduce your issue.
According to the feedback from the community users, this issue is not only with you, some users have reported the same issue.
However, the inability to successfully create a shared folder may also be related to may be related to network factors.
You can visit the Microsoft Service Status Detection page to see if the OneDrive service in it is being accessed correctly.
Service Status (office.com)

If it shows an abnormal connection, modifying the network configuration may help.
1. If possible, try switching from wired to Wi-Fi or vice versa, or connecting to your phone's mobile hotspot to see if a shared link can be created properly.
2. You can also try changing the DNS
- Click Windows+R and type ncpa.cpl.
- Click the name of the network you are now connected to, open the Network Status window, click Properties, and then in the Network Properties window double-click ” Internet Protocol Version 4 (TCP/IPv4)”.
- Manually set the DNS servers to “4.2.2.1” and “4.2.2.2”, and then restart your computer to see if the problem is resolved
3. If you are experiencing problems with the OneDrive for Windows client, you can also try creating a share in OneDrive for web with OneDrive for Mobile. See if you can create it successfully.
However, this may also be a problem with the OneDrive cloud. According to some user feedback, they still cannot create shared folders correctly after changing the network environment. If this is the case, we will consider submitting feedback to the OneDrive team and look forward to fixing the problem as soon as possible.
In any case, we look forward to you sharing your results with us, which will help us investigate this issue more deeply, and thank you for supporting Microsoft products!
Sincere greetings,
Ian - MSFT | Microsoft Community Support Specialist