This is kind of an aside to the pirate issue.
I thought that ships in international waters could have arms lockers with just about whatever they wanted in them.
Does anyone know what the laws are on having guns on the high seas?
Essentially, you're not allowed to have them. Not even a single shot .22
What you can have in international waters is governed by which country you are flagged by. If you are flagged by Chad, and you never make port, you must follow Chad's laws on being armed. Whenever you are in territorial waters, you must follow that country's laws. Most often, everyone must follow Panama (Panama Canal) or Egypt's rules (Suez Canal). If you are making a trip that touches multiple country's territorial limits, as a ship, you have to follow the most restrictive rules. Usually those rules are "No foreigners can have guns"
The smart thing to do is to place security folks while at sea, and remove them before entering territorial waters.