Lock/Unlock commands realized.