phoromatic: Add in phoromatic_lock to new code