Fixed bug with lockReason