We got these https://www.toysrus.com/product/index.jsp?productId=3747465 and stuck one end on the pocket door and the other on the door frame. It works really well, however I haven't tried to take them off and I'm a little worried it's going to rip the paint off.
Re: Help Locking Pocket Doors