How to change,lock user in terminal

Hello everyone!
How can i block user account via terminal or change password?
Now, I can lock user in NethServer → System → Users & Groups menu.
I need same functionality via terminal.

NethServer Version: 7.9.2009
Module: email,ldap

Lock a user:

signal-event user-lock user@domain

Unlock a user:

signal-event user-unlock user@domain

Change PW:

Create pwfile (change Password to what you want):

echo 'Password' > passwordfile

Execute password-modify:

signal-event password-modify user@domain passwordfile

See documentation for more info.