The class swiper-button-lock is added automatically if you don't have enough slides to slide. Just add more images and it will appear