If this particular code entry will not allow the code number to be typed or pasted in, then the bank needs to be told that this is not acceptable nor good practice for an accessible site.
Many of these things that have the sort of animation you're referring to still allow straight typing in or pasting in of a value.
Brian - Windows 10 Pro, 64-Bit, Version 20H2, Build 19042
The depths of denial one can be pushed to by outside forces of disapproval can make you not even recognize yourself to yourself.
~ Brian Vogel