"Deride" means to show how ridiculous something is. Etymologically, the word breaks down as "reduce to something laughable".
"Mock" means to imitate, usually in a comical manner. You can see that sometimes the meanings can overlap, but if you deride something/someone, you usually don't imitate it/him/her.