Out of universe, we have the fact that Count Dooku's style of fighting is influenced by real-world fencing, because the character was played by Christopher Lee, who was a fencer himself. In fact, these reasons are actually somewhat intertwined. The guard serves a couple of purposes, and there are both in-universe and out-of-universe reasons for it to be present.