Q Code 40 in startup from when you did a "shutdown" in windows is normal. Windows 10 with fast boot enabled loads from "cache" on the disk making it faster. Qcode 40 is letting you know that the computer woke from hibernated state or what it thinks was hibernated. A0 will be the result from doing a restart from Windows. Both codes are normal depending on the scenario. There is nothing wrong.
Other systems in addition to rig in the profile specs:
Aorus Master x570, 3950X, 32GB GSkill c16 @3800, Sabrent PCIe4 1TB, Sabrent 1TB, 860Evo 1TB, 2080 Super, HX1200i, Celsius S36, Define S2, pg348q
Aorus Master x570, 3900X, 32GB GSkill c16 @3800, Sabrent PCIe4 1TB, 860Evo 1TB, 5700XT, HX1000i, H150i Pro, Obsidian 500D, LG32GK650F-B
MEG x570 Unify, 3800X, 32GB GSkill c16 @3800, Sabrent PCIe4 1TB, 860Evo 1TB, GTX1080Ti, SSR-850PD, Celsius S36, Define R6, u3415w