Sounds like you may have trismus from the dental cleaning.
Did your doctor give you any injections for your cleaning?
I would recommend some stretching exercises, warm towel placement on the muscles, and anti-inflammatories such as ibuprofen if its safe for you to take. It may take a few days to weeks to get complete relief.
As always, you can call your dentist and let him know what's going on.