It’s possible thag the slowdown and freezing is caused by thermal throttling. This is a safety mechanism then kicks in when the processor gets too hot.
It can happen when the NUC’s fan assembly and ducts are full of dust – it happened to my NUC8i3.
The solution is to disassemble the NUC, and clean it thouroughly.