added lock command
added unlock command
added lock/unlock