Lock your phone from Home Screen....
-Select widget from Home screen menu.
-It will ask for permission when you are using it for the First time.
Before uninstalling widget make sure to disable admin permissions in Location & security > Select device admin > Lock Screen Widget
Tags: create widget on lock screen , widget lock screen , lock your phone widget