fromString

Safely parses a string to LockStatus, returning UNKNOWN for unrecognized values.

Return

The corresponding LockStatus or UNKNOWN if not recognized.

Parameters

value

The string value to parse.