This also happened to me right now, so it's the forth time I experienced this since I installed LineageOS, about 10 days ago. This only proof that the phone is not completely dead is that the keyboard stay lit. Despite several attempts, I was not able to restart the phone with the above mentioned trick.
For me, the bug always kick in when I pick up the phone: it's freezes, the screen turns off, there is no more sound, vibration or led.
Apart from this, I did not have the wifi bug anymore since I installed LineageOS.