I have never had a baggage transfer or connection issue at BA between AA and BA, though some people have complained about spending too much time in security. or the bus ride between terminals
If traveling to the UK, then you will clear immigration. Otherwise you just need to go through security.