Added return value Lock/unlock building

Removed hint