public bool Locked { get; set; }
Public Property Locked As Boolean Get Set
public: property bool Locked { bool get (); void set (bool value); }