Man charged with gun crimes after Conn. lockdown