add problem switch_locks.