Use bool instead of int for 'locked' value
Minor change, but I get an exception (nlohmann::detail::type_error) when using the int instead of bool. Could also convert explicitly in scanConsole, but this seems cleaner.
Minor change, but I get an exception (nlohmann::detail::type_error) when using the int instead of bool. Could also convert explicitly in scanConsole, but this seems cleaner.