Bhairava is not a sort of Lord shiva, but a type quite carefully linked and he is amongst the powers assigned from the Lord. It's the custom made the keys in the temple are submitted to bhairava once the pujas are done for the day and yet again taken from https://arthurhdwpg.nizarblog.com/32030813/about-bhairav