Added lock commands