Right now the game will refuse to unlock cargo wagon slots or delete items that have been removed from cargo wagons, I can see the later being dangerous, but the former behavior is a bit baffling.
I made a local change to move cargo wagons into the same match arm as chests and it doesn't seem to have any ill effects as far as I can tell, if there is something here then maybe a setting which changes which arm wagons are considered to be a part of would be appropriate?
This is especially relevant If you are experimenting with the filtered cargo wagon mall you will have have a lot of high parallel capacity cargo wagon -> cargo wagon inserters with locked slots, this obviously is a perfect storm of circumstances to get stuck inserters, previously I was managing this with recursive blueprints+ deleting and re-placing the inserters, but obviously your mod appears to be a much nicer solution.
I am happy to make the changes myself if you are willing to take PRs and can point me to a git repo.