Is it all on one ticket? If so, there should not be a problem. IIRC Different locator codes can exist because different airlines used different reservations systems.
However if this is two tickets, be prepared to re check in with AC and to have no protection in the event of a delay to the BA flight.