I had similar issues with TWRP (device was not bricked though). In short, i was following this guide and must have made a mistake (or installed the wrong version of TWRP maybe?). I thought I had messed up by setting a PIN on my device at the wrong time, which I thought encrypted the phone, but...