Samsung still allows the Choco Cooky font, but not via a random APK. Instead, use the :

If it doesn’t appear, update your One UI Home and Galaxy Store apps. Samsung has gradually moved fonts to a paid model in some regions.

If you’re trying to get the classic font on Android 12 , you’ve likely noticed that the old way of simply installing an APK doesn't work anymore. Starting with Android 10 and 11, Google and manufacturers like Samsung tightened security on how system fonts are modified.