This was discovered a few months ago, leading to gamers bombarding the games' reviews with negative reviews in protest of not being able to play these games on PC.
These problems led Microsoft to take some important measures , including blocking some computers that had these games installed.
Fortunately, things have improved and Assassin's Creed Valhalla and Origins have already received updates to fix these problems, so they should now be playable on Windows 11, although there are still more games to receive these fixes.