Just socket compatible, eh? Nope, not enough. The processor must be socket, chipset, and BIOS compatible.
https://www.msi.com/Motherboard/support/Z490-A-PRO#support-cpu says the processor is supported.
Make sure your bios is updated. You may need a lessor processor to update the bios.
Doc (not an Intel employee or contractor)
[Windows 11 is the new Vista]