Add public #locked? method