Through the book series there have been examples of charms stopping when its creator dies (Harry could move again after Dumbledore fell in HBP), but also of charms continue working (Protection of Privet Drive in DH, protection of Grimmauld place against Snape by Moody).
Is there further information what kind of magic is influenced by the death of its creator and which isn't?