islocked method