The problem isn't some sort of stun lock, rather it is that "reload" period of your weapon that gets extended without a proper animation being played. Find a weapon that makes you unable to move while "reloading" (the magnus line, avenger lines too fall prey) and you get this stun lock. It is not a bug, the stun theory is solid.
The main issue comes with what happens when you get hit with stun. Oh, got hit with stun while charging your weapon? You can't do anything but let go of that attack key of yours so you become vulnerable.