How can I stop Windows 10 from “upgrading” the Photos app

I use the default Windows 10 app for viewing photos, but the new one with the W11 desing runs so bad taking CPU even when doing nothing and takes so much to load. So I installed a version from 2020 with whe classic Windows 10 UWP ui, and it runs so much better. The problem is when I realize, it has the new icon and it has been upgraded to the latest version. How do I stop that behaviour? I have disabled the Store automatic updates and it happens even without a Windows Update.