That's a complicated question. I don't know very much about bike suspension and the more that I learn about it the more I find out that I don't know. I feel that my understanding of bike suspension is going backwards.
Everything on a bike works together and affects how the other parts work. I doubt that simply adding an auto-lockout shock to a bike that wasn't designed around it is going to work very well.