This should probably be called
lockStatus  or setLockStatus

I could represent something else than a door ;)