Let me guess, you're using a bluetooth keyboard, probably a Logitech or Zagg? Easy solution is to not use the caps lock button and just use the shift button when you want to type in caps. I don't know what causes the problem but it's the quickest and simplest solution I have found.