make sure that user lock finally returns value