i assumed a guard had come in on a search while the woman was hidden , encountered the former professor , and had either become familiar with what had to be done to kill the creatures , or got lucky .