One of the first things I was taught in primary training is, "Don't trim into a stall." Apparently, the AB system will do just that in some circumstances
Having reviewed the FCOM in fact the auto-trim stops as AoA protection kicks in i.e. well prior the stall (providing AoA protection is working of course...)