You can buy small woodden dowels to use as locking pins. Just drill a hole about halfway through the bottom of each shelf that the dowel can sit in and will stick out of, you should be able to pull the pin easily in and out. This will prevent the tubs from sliding forward at all, and hence keep your little ones in.