Well, it's not out of the realm of possibility. Some viruses can mess with your system settings, potentially causing your keyboard to lock.