How to turn off automatic typing correction in Lion?
Go to system preferences -> and then language/text

Hit the "Text" tab.

There is a checkbox that says "Correct spelling automatically". Uncheck it.

Look here for more info:

http://www.applegazette.com/mac/how-to-disable-auto-correct-in-os-x-lion/