Originally Posted by Muneeb Saeed
When flashing by smart flash on you have to flash the kernel seprately
Sent from my HTC_Amaze_4G using Tapatalk
If smart-flash is properly enabled the kernel will flash with the ROM. That's one of the main purposes of smart-flash.
To the OP: obviously you were able to successfully install the ROM this time since you didn't bootloop and were OK until you entered a PIN for the lockscreen. So this issue is different than the first, where you weren't even getting to the lockscreen. The first thing I would try is wiping then reinstalling CM from recovery. This time just try using it without a PIN for an hour and see if you have other issues. Only then set a PIN. If it crashes after setting a PIN, but was working fine before, you know there is a bug in that part of the ROM. If it begins crashing sooner then something else is the problem.