Bug 950984: Implement stop_lock for force stop