Terrarium lock for sliding panes of glass terrariums