1)what is the difference between HLOCK and HMASTLOCK in AMBA AHB?
In that case please can I strongly recommend that you don't try learning AMBA 2 AHB as it is unlikely you will be using this protocol. Instead look at AMBA 3 AHB-lite as your first protocol as it is much simpler to understand, and is more likely to be of use to you when implementing a real design.