Are you asking if you can keep the bag locked or if there is a storage area on the train to lock the bag up?
As to storage on a long ride, I'm not sure.
If you are asking about keeping your bag locked, yes, I have not been asked to unlock it in the past.