Add host lock check