How to lock and unlock an user account in FreeBSD
Any user account can be locked or unlocked only by Administrator (i.e root user). This is done using pw command as explained below.
To lock a user account (mark) from logging in:
[root@techpulp ~]# pw lock mark
To unlock a user account (mark):
[root@techpulp ~]# pw unlock mark

