1.First step is to connect your Microsoft account to your PC
2.Open Settings, and click on the Accounts icon and then click Sign-in options
3.Under Picture Password option click on Add button.
4.Enter your Microsoft account password when prompted
5.From left use Choose image to browse and pick an image to use for password
6.Once you have selected the image, draw three different gestures on the image and repeat them at exact same spot on the image to save your gesture pattern