No., the way that Windows 10 / 11 works (DXGI) is that it will ALWAYS run in your Display' Native Resolution for the Display Connection.
Windows / Applications will then create a Surface that they can render whatever the Desktop Resolution is to., and then Applications on the Desktop will Render to a Surface (Image) that in-turn is a Virtualised Resolution.
For example... I have a 2160p Display., I literally must ALWAYS run it in 2160p as the Output Resolution; I don't have a choice in this.
So, let's say that I change my Desktop Resolution down to 1080p; well it'll STILL be outputting at 2160p to the Display; the Desktop will simply be Scaled to the output Resolution.
Of course, we can change the Desktop Resolution; albeit a little more difficult to do that with AppGameKit as we have no direct DLL Access, but there is a PowerShell command do it (see: Microsoft Documents) that we can run as an External Application.
Still, this won't change your Display Resolution., not unless you're on Windows 8.1 or earlier.
Now I'd argue it sounds like you just want to use Fullscreen Mode for your Display... this will expand the App Window to the entire Screen, and then whatever Resolution you've set will be the Fullscreen Virtual Resolution.