Locks the asset, if a lock already exists this over writes it.
@param uuid Id of the asset.
@param userName User name of the user that is locking the asset.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.