This happened on British Airways Flight 5390 in 1990. An engineer had sight matched a retaining bolt on the windscreen and it blew out as the plane climbed through 17,000 ft. The explosive decompression pulled the captain halfway out of the broken window, and his clothes caught on the flight controls.