How to Take Screenshots of Lock and Login Screens in Ubuntu 18.04

This tutorial will teach you the following few things: Taking a screenshot of the lock screen
and taking a screenshot of the login screen. Please note that we are performing the steps described in this tutorial on an Ubuntu 18.04 system.