Erratic Compiler

I cannot submit my solution because compiler attached to the problem returns erratic results. Have a look at the following images, latter is correct.

It is only behaving like that for UNLOCK problem…please fix it :confused: .