it could be a problem with the power supply. The 2 events could be coincidence and not connected. Open the case and check for hair and fluff and that all fans are rotating - the lock up could indicate an overheating fault.
OnePlus 5 review
See the work of famous artists playing with toys
iPad Pro 10.5in (2017) review
Comment faire une capture d’écran sur un Mac ?