osc: Simplify with a regular lock.