Can I prevent SMS from showing on the Lock Screen in iOS 4?
Go to Settings > Messages. There's an option "Show Preview" there. If you toggle this to off, it will stop showing SMS previews on the lock screen. This will also disable the alert popup when a new SMS arrives and the phone is not locked.