Driver core: create lock/unlock functions for struct device