There's no denying the fact that Indian Railways is pathetic in providing security to any train whether a Rajdhani class train or not.
But people should be careful, how much sleepy are they ? How helpful would be Automatic doors and stuff, if insiders in the train are thieves ? Better to sacrifice one night's sleep or atleast keep stuff locked while sleeping. Don't depend upon Railways.