simple lock/unlock and plain mode