The problem might be with your keyboard. To verify this, connect another keyboard and observe the results. If the problem disappears, it might mean your keyboard is faulty or that its Caps Lock key ...