Hey GersonStaack,
I was having the same issue; I disable windows game bar and since then I haven’t had any issue with minimize or changing res. You can click Start->Settings->Gaming-> and just unmark the Record game clips, Screenshots…
Hope that it will work for u.