Can I lift weights with mild neck and shoulder stiffness and pain. Been going on for about 2 weeks?

If the stiffness. Came from recently increasing your lifting range then back down the weight by 10-15lbs, or use fixed weight machines until stiffness resolves before going back to normal with free weights.