added lock in struct and unlock before suspending
Merge branch 'master' of https://github.com/knitHacker/w4118