What is a Mortsafe?

In Here There Be Dragons, Anne Wentworth rented a mortsafe to protect a grave. So then, what is a mortsafe and what sort of protection did it provide?