Disable user account — Ansible module user

How to disable an “example” user in Linux by locking the password and setting the special “nologin” shell without login possibility.

How to disable a user account with Ansible?