Mh, that sucks, patterns might be a special case then. What ROM you on? I read that there might be problems with patterns on CM13. Also, what exactly does not work? Are you not asked for a pattern or is your pattern just not accepted? And finally, there was a bug in twrp that any pattern larger than 3x3 didn't work. Can you temporarily change it to a 3x3 and see if it works then? At least this way I know if it's that bug that's supposed to be fixed.