add unlock method to global