(e.g., rooting, installing a custom ROM, removing factory encryption)?
Samsung devices are programmed to automatically overwrite custom recoveries with the official stock version on boot; this tool stops that process. Disabling Vaultkeeper and Proca: multidisablersamsung26zip
From naming multidisablersamsung26zip :