The root of your problem is the Type Cover 2's feature to turn off key registration when flipped behind the surface but still attached. Depending on how you wake it up, and what position the type cover is in, Windows 8.1 and the type cover can get confused whether you want the keys to register...