No, the idea was that apt update would keep failing while the system upgrade was running (and holding the lock):
$ apt update
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1704856 (apt)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to lock directory /var/lib/apt/lists/
But there are better ways of waiting for a process to finish, that other people have shared