Bank of America is one of the first large national banks to offer the security feature, which works with a mobile phone.