... and setLocked(true) should be terminated with a semi-colon ';'
and the '{' following setLocked(true) should be replaced with a '}'
... and setLocked(true) should be terminated with a semi-colon ';'
and the '{' following setLocked(true) should be replaced with a '}'