How can I lock a sliding door that doesn't have a door lock?
You can cut a stick to lay in the track where the door slides, that's an old trick.  You can also drill a vertical hole in the track, say an inch deep, and drop a 2" nail in there, to block the door from sliding open, similar idea.  

They make little clamp on sliding window locks



that might work.