- Try to emit an error when a pkg is locked