I eventually installed .net 6 from Microsoft website, and I got this message (see picture 1) : I said Yes.
Everything then seems OK during the installation of Paint.net as it went through a lot of steps, and at the end, my PC freezed again. 😢 (see picture 2, last screen when freeze happens)