Bhairava is not really a form of Lord shiva, but a sort pretty closely affiliated and he is probably the powers assigned by the Lord. It is the custom the keys with the temple are submitted to bhairava after the pujas are accomplished for the day and all over again https://bookmarkextent.com/story20289641/bhairav-options