Ready to implement different lock algorithm