Acquire a (process) lock when printing, to avoid interleaved label prints