You can lock the modules with a button and also screw them in from the inside.
Not saying it's perfect but it's a far cry from just swapping a module.
If they are close enough to do that without me noticing I already have a ton of problems to fix instead of worrying about my Framework's module security.