Your colleague unlocked the door, then someone entered, killed him, locked the door from the inside, then hid under the floorboards or in the ceiling.
Your colleague leaned out the window, then someone grabbed him and cut his throat with their fingernails and he fell back into the room.
Your colleague leaned out the window, then someone grabbed him and repeatedly smashed his head against the side of the window and he fell back into the room.
Someone broke the window, your colleague leaned out the broken window, then someone grabbed him and cut his throat on the broken glass and he fell back into the room.