Different type of cpu socket gets different type of lock, and the loosen method is not the same but not difficult.
Just look at your mother board manual will show you how to remove the heatsink. You could also download the manual from the MB manufacturer website if you lost it already.