WIP: locking of assets

Do not merge!