Type //afk into the chat bar — no capital letters, no spaces, no quotation marks.
Your avatar will settle into the idle pose until you move again.