You can use knockout enable binding. Define a flag in your viewmodel that will be switched to true when user clicks the pen button.
Quick example: FIDDLE
<input disabled="disabled" type="time"
class="form-control" data-bind="value: Duration,
enable: enabledFlag">