Under Online Store > Preferences > Scroll down to the Password protection section > check Enable password > Enter your password > Save.