Use the Pin Code Maks component to easily create separated input fields with a mask getting triggered after "X" seconds.
Also, you can automatically move between inputs while filling or deleting (backspace) the input value.
When you reach last input, you can automatically validate your pin without needing to click on a button.