A Florida man told police officers he was “teaching it a lesson” when he tried to throw a live alligator he had stolen from a miniature golf course onto the roof of a beachside cocktail lounge, authorities said.