Shorthand for Away From Keyboard, AFK is a way to let others know in chat and games that they are away from the keyboard and will not respond to any talking or action. Below is an example of how this would be used.
User1: That's pretty funny.
User2: Heh yeah, AFK.
User2: Ok I'm back.
Some people prefer the term AFK instead of IRL because they consider the Internet as "real" as the real life.