AFK is an abbreviation for ‘
Away from keyboard.’
In text, you can use it when you want to take a break from the ongoing conversation. Similarly, you can also use this acronym on social media when you need a break.
While gaming, it also means ‘away from the controller.’ Thus, you can use it when you want a break from the game to deal with other matters.