In general you played the hand well. Taking into account that the villain 3-bet of 5x (2.86x pot) we can play calling or 4-bet. The important thing to say is that the times that we are OOP the frequency that we bet 4-bet is very variable compared to a wider range position like BTN. And if you call with AKo you don't always have to, as you have to take advantage of your range advantage.
The flop is standard just like the turn. Actually on the turn you could have a donk range. Because if you've ever played slow with a: AK combo or a: TT combo, you'll want to get some value back. If you've ever played loose preflop, now you want to print full speed with a combo: A5. And if you ever want to render bluffs in this texture, you could do it with 3 combos of spades like: K9s-KJs.
On the other hand, your villain could call with an off AQ combo, which delayed the action, he thinking of his blocker's advantage.
Also the villain could raise sometime with a nut combination (QKs) or with a combo: AJs. But the main idea of donk betting is to target the closed range of the villain which is 9 combos: QQ + KK. Maybe some of them are part of his fold
equity range, but sometime we can give it a try, when we let V represent the dominant range in preflop.
Another option as played, is to make a bigger bet on the river, as we've delayed a lot of action on the previous fairways and now villain retains a good part of his dominated range.
Greetings.