zebra_lock_create() now logs an error and returns a null pointer if