lock rspec