Update guidelines.md
Merge pull request #54 from d3fin3d/patch-21

Added "Do not infract the OP of a locked thread" to the Locking section