/var/lib/dpkg/lock is file that holding a lock when A package manager is working. But how this system works? I have /var/lib/dpkg/lock everytime when I have Linux working. When I use one of package manager for dpkg I have it without any change. So I can't see it in action.
How /var/lib/dpkg/lock works?
dpkg;lock