Add nonblocking lock and feedback if already locked. Fixed #22