Add public #locked? method
Merge pull request #598 from rogercampos/public_locked_method

Add public #locked? method