Preflop: with 30bb standard raise siza is between 2-2.3bb. No reason to raise 3bb, in fact by raising 3bb you are forcing villains to fold AJ-AT-A9 and KJ-KT type of hands that you dominate.
Flop: This is a very bad flop for you, because villain can have a lot of Tx hands. This is a spot where you want play very cautiously. Smart play is to check your entire range, including AA, KK and Tx hands.
Turn: As played, turn card is bad for you, because flush got there. if you had club you could go all in, but your this particular hand doesn't have enough blockers. When you check and villain bets, it's easy fold, villain easily can have Tx and flush and in both cases you are dead. Check-raising here is extremely stupid, because you have no outs against Tx, no outs against flush and no blockers. Good check-raising hand would be AcJ(outs to nut flush, blocking JT). There is so much dead money in the middle you can't have many bluffs here. Your raising size doesn't matter, it's practically allin. Just looking at pot
odds it looks like you need to have roughly 1 bluff for 4 value hands. If you are raising AKo with no club, you have way, way way too many bluffs.
Overall, very bad. or did you try to play it worst way possible?