Propper working port of yum::versionlock with a parameterized define from
zypper versionlock itself does not proper handle the
solvable_name when used with a packagename with a dash including also the version, release and arch.
The propper working way that is also the only documented way in the suse man locks(5) is to set the
version and when wanted also the
solvable_arch key in the locks file.