Mating
Mantis Shrimp can have as many as 20 or 30 breeding episodes in their lifetime. Depending on the species, the eggs can be laid and kept in a burrow, or they can be carried around under the female's tail until they hatch. Also depending on the species, male and female may come together only to mate, or they may bond in monogamous long-term relationships.
The photo in the background is a Peacock Mantis Shrimp holding her clutch of eggs.

"After one to three weeks, the eggs hatch into larvae. Over the next several weeks, the larvae pass through several stages, first in the burrow, and then in the open ocean, growing and molting between each stage. Finally, the larvae leave the open ocean and settle into their adult habitat (coral reef rubble, or sea grass beds). However, for most species, we don’t know how many stages there are, how long each one lasts, or even what the larvae of different species look like!"-Berkeley.edu
This is a video example of the mating behavior of a Mantis Shrimp. By RoyLCaldwell on YouTube
Peacock mantis shrimp can live 4-6 years. (Caldwell, 2006; Cronin, et al., 2000; Patek and Caldwell, 2006)