I've had a stiff neck after sleeping, but it usually goes away after a few hours.
Right now I'm dealing with pain in my neck and left shoulder from BJJ class. I can barely turn my head side-to-side.
I'm going with muscle relaxers and plenty of fish oil for a couple of days to see if that helps. Also if you can stand it, perhaps some foam roller work on the traps/shoulders would help.