Create CanvasLock.java