The beauty of Linux distros is sometimes they will the explicitly display the solution along with the error message. As you can see in the above output, it says: ".. you can remove /var/lib/pacman/db.lck".
So, I simply deleted the aforementioned file with command:
$ sudo rm /var/lib/pacman/db.lck