isLocked property Null safety

bool isLocked

This is locked

Implementation

bool get isLocked => _locked;