Earlier quoted context omitted.
> It seems like finding some way to prevent the thefts is better. It seems like it should be possible to use locks which are harder to open in a short amount of time...but I suppose the cost of that would outweigh the current costs of the theft for the railroads.
It's very difficult to make a lock that is really secure. Bolt cutters and battery powered saws / grinders are very powerful, portable and effective tools to cut through metal.
For example, just thinking out loud, what about some sort of container door hinge mechanism which takes five minutes (or an adjustable amount of time) to open the door?