More appropriately it is called a "Manual Twist Lock"
And yes they are used to secure containers together. They are also used on container ships as well but normally just to secure the bottom tier to the hatch cover on deck. The upper tiers use semi-automatic twist locks. They auto lock when the container is loaded and only have to be manually unlocked when discharging!