Type the phrase bubble "character name" into chat, closing with an exclamation mark — the quotes around the name matter.
Your pet crab performs the action on that player. Note it's a cosmetic bit of fun rather than a status effect, so it won't actually immobilise anyone.