Why don't see notifications on 5.0.2 Android update for Sony Z3 Compact
I think the problem is that you are using the PIN lock screen. Try changing to something else and hopefully it will work.

I also faced this problem and it disappeared when I changed the lock screen type.