implement of home folder lock #1