To turn on this feature, go to Settings > Personalization > Lockscreen. Note This feature might not be available to all users because it will roll out gradually.