You can see the current status of the #Linux user password as follows:
passwd -S {user}
chage -l {user}
# replace `vivek` with your UID
passwd -s vivek
passwd -l vivek
See https://www.cyberciti.biz/faq/understanding-etcpasswd-file-format/ and https://www.cyberciti.biz/faq/understanding-etcshadow-file/ for more info.