passing correct state on click slick slider code example
Example 1: slick slider go to a particular slider
$('#slider_selector_id').slick('slickGoTo', slide_number);
Example 2: slick slider unslick
$('.your-slider').slick('unslick');
$('#slider_selector_id').slick('slickGoTo', slide_number);
$('.your-slider').slick('unslick');