nit: Use "locked".