Added OpenSSL lock initialization example since the question comes up quite often.
Style and correctness fixes on SSL locking example code.
add BUILD:SKIP for include of ssl lock example
Make event_active() negative example compile.