Disables notifications of changes on the given data model.
To re-enable notifications again, you should call the thaw function.
a DataModel object.