I did some additional tests, here are the results:
When startup-sequence contains only memtest program that tests RAM "forever", and I don't use mouse or keyboard, everything is OK.
Then I put CLI command "list ALL" into startup-sequence, so that HDD works "forever". It worked fine, too, no freezing.
The obvious conclusion would be that something is wrong with chip controlling mouse and keyboard (was it CIA?). It somehow freezes A1200 if not heated.
What is the number label of CIA in A1200, so I could try to resolder it?