Refactor: do not import Lock directly
Test unable to lock sr situation