It’s part of bank obligations to keep KYC updated; so anytime they can ask you to come update your visa status; they will not know it automatically but it can happens that an update comes and ask you come show last stamp on your passport or once you go to the bank for any matter they use to check KYC info; it’s common to any bank in the world not specific to Thailand