How can you bock the Gmail chating?

On the top of your chat list, click "Sign Out Of Chat"
To block a specific person, block them in Contacts.