Added simple method to lock areaFrame
Implemented the lockFrame Method