iPhone 5 and 5s lock screen flashing Apple logo
I had this exact same problem. It has to do with recurring calendar events. This mainly occurs when the phone is syncing with Microsoft Exchange, but may occur in other circumstances. You need to find any recurring calendar events and simply delete them. Adding an end date will not fix the problem. It took me about a month of looking through device logs to figure this out.