then a lopsided smile spread across her face as she looked down at mikael blomkvist , who for half a minute acted out a jerky pantomime before he finally punched in the code and then leaned on the doorjamb looking as though he had just avoided having a heart attack .