lock try to console log