Retirement tax questions

Sorry the bank told you wrong.  Only IRA Distributions for a house are an exception to the 10% Early Withdrawal Penalty.  Not 401K.