This should remain as it was. If no lock id (`$id`) was provided, the `else` part of the `if` block should be executed (below)