My computer seems to be frozen after hitting a key

Stop pressing that key and save incrementally as you work…problem solved.