Exactly why would you want to EXCLUDE the SSD TRIM function (it's beneficial to the health of the disk)? If you really want to, open up a COMMAND PROMPT window as an Administrator and execute the following command... fsutil behavior set DisableDeleteNotify 1 Pls remember... this is a GLOBAL System setting affecting all Solid State devices in a System.
Windows 10 doesn't have any trim, maybe you mean SSD or NVMe trim though. If so, it must not be prevented from working in any way. This function is necessary so that the SSD-based drive can work at all. So, it is not only healthy, but necessary and mandatory to work.
Now I know what you're after First, RollbackRX (and EAZFIX) both disable TRIM, not through the operating system (like I showed you above) but in their special disk driver software. Second, Shadow Defender doesn't work like the snapshot apps do, it is what's called a "Lite Virtualization" software... it doesn't delete anything while it's running. It uses a special area (like a cache) to put all System changes in while it's active. When you deactivate it (and have noting to save from the process), it just blows away the cache it was using and starts with the fresh System that was there before it ran. Basically you don't have to worry about TRIM with either of your above mentioned apps.