lock also in header