Here’s something for you to consider checking out.
If you have
a headless Mac Mini with no monitor attached, and you have downloaded
the latest iTunes 22.214.171.124, try this. Click on the orange ‘minimize’
button at the top left. Your Mac will immediately jump to the UI Login
Screen. I have reported this to Apple vie the official bug report.apple.com channel, but thus far no response.